File
�ĸ�����, ����ȡ�þ��Ժ����·��.
@author Michael Zhou
All methods in this interface might throw a SecurityException if a security exception occurs.
Unless explicitly allowed, all methods in this interface might throw a NullPointerException if given a {@code null} argument. @author Peter von der Ahé @author Jonathan Gibbons @since 1.6
Files are arranged in a hierarchy. Each hierachy forms a file system. A file system represents things like a local OS file system, a windows share, an HTTP server, or the contents of a Zip file.
There are two types of files: Folders, which contain other files, and normal files, which contain data, or content. A folder may not have any content, and a normal file cannot contain other files.
TODO - write this.
Reading and writing a file, and all other operations on the file's content, is done using the {@link FileContent} object returnedby {@link #getContent}.
A file is created using either {@link #createFolder}, {@link #createFile}, or by writing to the file using one of the {@link FileContent} methods.
A file is deleted using {@link #delete}. Recursive deletion can be done using {@link #delete(FileSelector)}.
Other files in the same file system as this file can be found using:
To find files in another file system, use a {@link FileSystemManager}. @author Adam Murdoch @see FileSystemManager @see FileContent @see FileName
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|