static void |
FileSystemPathUtil.checkFormat(String path) |
Checks if path is a valid path.
|
void |
BasedFileSystem.close() |
Close the file system.
|
void |
FileSystem.close() |
Close the file system.
|
void |
BasedFileSystem.createFolder(String folderPath) |
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
FileSystem.createFolder(String folderPath) |
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
FileSystemResource.delete() |
Deletes this resource.
|
void |
FileSystemResource.delete(boolean pruneEmptyParentDirs) |
Deletes this resource.
|
void |
BasedFileSystem.deleteFile(String filePath) |
Deletes the file denoted by this path.
|
void |
FileSystem.deleteFile(String filePath) |
Deletes the file denoted by this path.
|
void |
BasedFileSystem.deleteFolder(String folderPath) |
Deletes the folder denoted by this path.
|
void |
FileSystem.deleteFolder(String folderPath) |
Deletes the folder denoted by this path.
|
boolean |
BasedFileSystem.exists(String path) |
Tests whether the file system entry denoted by this path exists.
|
boolean |
FileSystem.exists(String path) |
Tests whether the file system entry denoted by this path exists.
|
boolean |
FileSystemResource.exists() |
|
InputStream |
BasedFileSystem.getInputStream(String filePath) |
Returns an input stream of the contents of the file denoted by this path.
|
InputStream |
FileSystem.getInputStream(String filePath) |
Returns an input stream of the contents of the file denoted by this path.
|
InputStream |
FileSystemResource.getInputStream() |
|
OutputStream |
BasedFileSystem.getOutputStream(String filePath) |
Returns an output stream for writing bytes to the file denoted by this path.
|
OutputStream |
FileSystem.getOutputStream(String filePath) |
Returns an output stream for writing bytes to the file denoted by this path.
|
OutputStream |
FileSystemResource.getOutputStream() |
|
boolean |
BasedFileSystem.hasChildren(String path) |
Tests whether the file system entry denoted by this path has child entries.
|
boolean |
FileSystem.hasChildren(String path) |
Tests whether the file system entry denoted by this path has child entries.
|
void |
BasedFileSystem.init() |
Initialize the file system
|
void |
FileSystem.init() |
Initialize the file system
|
boolean |
BasedFileSystem.isFile(String path) |
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
FileSystem.isFile(String path) |
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
BasedFileSystem.isFolder(String path) |
Tests whether the file system entry denoted by this path exists and
is a folder.
|
boolean |
FileSystem.isFolder(String path) |
Tests whether the file system entry denoted by this path exists and
is a folder.
|
long |
BasedFileSystem.lastModified(String path) |
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
FileSystem.lastModified(String path) |
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
FileSystemResource.lastModified() |
|
long |
BasedFileSystem.length(String filePath) |
Returns the length of the file denoted by this path.
|
long |
FileSystem.length(String filePath) |
Returns the length of the file denoted by this path.
|
long |
FileSystemResource.length() |
|
String[] |
BasedFileSystem.list(String folderPath) |
Returns an array of strings naming the files and folders
in the folder denoted by this path.
|
String[] |
FileSystem.list(String folderPath) |
Returns an array of strings naming the files and folders
in the folder denoted by this path.
|
String[] |
BasedFileSystem.listFiles(String folderPath) |
Returns an array of strings naming the files in the folder
denoted by this path.
|
String[] |
FileSystem.listFiles(String folderPath) |
Returns an array of strings naming the files in the folder
denoted by this path.
|
String[] |
BasedFileSystem.listFolders(String folderPath) |
Returns an array of strings naming the folders in the folder
denoted by this path.
|
String[] |
FileSystem.listFolders(String folderPath) |
Returns an array of strings naming the folders in the folder
denoted by this path.
|
void |
FileSystemResource.makeParentDirs() |
Creates the parent directory of this resource, including any necessary
but nonexistent parent directories.
|
void |
FileSystemResource.spool(OutputStream out) |
Spools this resource to the given output stream.
|