Re: file open help]
Scott Plante <[email protected]> Tue, 22 Apr 2003 14:49:53 -0400
| Newsgroups | gmane.comp.java.mvc.devel |
|---|---|
| Organization | ZyrOSS |
| Message-ID | <[email protected]> |
Adrian Cho wrote:
>System.get("file.separator") should help.
Or better yet, File.separator instead. It's preferred over the
System.get because a typo will cause a compile error rather than a
runtime NPE or incorrect operation.