Lines 49-54
Link Here
|
49 |
<apidef name="filesystems">Filesystems API</apidef> |
49 |
<apidef name="filesystems">Filesystems API</apidef> |
50 |
</apidefs> |
50 |
</apidefs> |
51 |
<changes> |
51 |
<changes> |
|
|
52 |
<change id="FileSystem.getNativeFileSeparator"> |
53 |
<api name="filesystems"/> |
54 |
<summary>Native file separator for filesystem</summary> |
55 |
<version major="9" minor="4" /> |
56 |
<date year="2014" month="11" day="27"/> |
57 |
<author login="vkvashin"/> |
58 |
<compatibility addition="yes" deletion="no" deprecation="no" source="compatible" binary="compatible"/> |
59 |
<description> |
60 |
<p> |
61 |
New method <a href="@TOP@org/openide/filesystems/FileSystem.html#getNativeFileSeparator()"> |
62 |
FileSystem.getNativeFileSeparator()</a> can be used to get |
63 |
file separator for underlying native file system. It is |
64 |
useful when working with remote file systems which have |
65 |
separators different from <code>File.separator</code>. |
66 |
</p> |
67 |
<p> |
68 |
Method <a href="@TOP@org/openide/filesystems/FileUtil.html#getNativeFileSeparator(org.openide.filesystems.FileObject)"> |
69 |
FileUtil.getNativeFileSeparator(FileObject)</a> is convenience method |
70 |
with the same purpose. It takes <code>FileObject</code> as |
71 |
argument, gets its filesystem and returns the filesystem's |
72 |
file separator. If some exception is encountered, it is |
73 |
handled silently and default file separator is returned. |
74 |
</p> |
75 |
</description> |
76 |
<class package="org.openide.filesystems" name="FileSystem"/> |
77 |
<class package="org.openide.filesystems" name="FileUtil"/> |
78 |
<issue number="248933"/> |
79 |
</change> |
52 |
<change id="FileLock.closeable"> |
80 |
<change id="FileLock.closeable"> |
53 |
<api name="filesystems"/> |
81 |
<api name="filesystems"/> |
54 |
<summary>FileLock implements AutoCloseable</summary> |
82 |
<summary>FileLock implements AutoCloseable</summary> |