> There may be examples in the API docs. If not it's
> pretty simple to figure out.Besides, using a
> particular filename extension is so trivial that I
> suspect that it's not the real problem, and any
> example without more info from you would be
> inapplicable.
Thanks for the reply. I am looking at how to create a file with a particular extension. It will be great if you can give me an example. I went through the java.io.FileWriter, java.io.FileOutputStream and java.io.File, but I was not able to get any kind of example.
Please let me know
Thanks
> > There may be examples in the API docs. If not
> it's
> > pretty simple to figure out.Besides, using a
> > particular filename extension is so trivial that I
> > suspect that it's not the real problem, and any
> > example without more info from you would be
> > inapplicable.
>
> Thanks for the reply. I am looking at how to create a
> file with a particular extension. It will be great if
> you can give me an example. I went through the
> java.io.FileWriter, java.io.FileOutputStream and
> java.io.File, but I was not able to get any kind of
> example. >
How is this possible?
OK, fine, lazy-boy.
try {
FileWriter f = new FileWriter("file.yourextensionhere");
f.close();
} catch (IOException e) {
e.printStackTrace();
}
> > Yeah, but can anybody understand what those
> > penguins are saying?
>
> That's odd. They're commanding me to kill.
Noooo!!! Don't do it:
[url #" style="display: block; background-image: url('http://nyilvan.freeblog.hu/Files/pingu-pinga-wallpaper.jpg'); width: 1024px; height: 768px] [/url]
> OK, fine, lazy-boy.
>
> try {
> FileWriter f = new
> FileWriter("file.yourextensionhere");
> f.close();
> catch (IOException e) {
> e.printStackTrace();
>
Thanks for the reply. I am kind of new to this.
> > OK, fine, lazy-boy.
> >
> > try {
> > FileWriter f = new
> > FileWriter("file.yourextensionhere");
> > f.close();
> > catch (IOException e) {
> > e.printStackTrace();
> >
>
> Thanks for the reply. I am kind of new to this.
Then learn real quick how to do your own research.