Package | Description |
---|---|
com.spss.psapi.resource |
This provides access to server-side resources such as the server file system and database connections.
|
Modifier and Type | Method and Description |
---|---|
ServerFile |
ServerFileSystem.createTemporaryFile(java.lang.String name)
Creates a new file with a unique name in the server's temporary file space.
|
ServerFile |
ServerFileSystem.getAbsoluteServerFile(ServerFile file)
Returns a file representing the absolute pathname or
null if
the absolute path cannot be determined. |
ServerFile |
ServerFileSystem.getChild(ServerFile parent,
java.lang.String filename)
Returns the named child in the supplied parent.
|
ServerFile |
ServerFileSystem.getDefaultDirectory()
Returns the server's default directory.
|
ServerFile[] |
ServerFileSystem.getFiles(ServerFile directory)
Returns the list of files in the specified directory of the file system.
|
ServerFile |
ServerFileSystem.getParentDirectory(ServerFile file)
Returns the parent directory of a file in the file system
|
ServerFile |
ServerFile.getParentServerFile()
Returns a file representing the parent directory.
|
ServerFile[] |
ServerFileSystem.getRoots()
Returns the roots of the file system.
|
ServerFile |
ServerFileSystem.getServerFile(java.lang.String filename)
Returns a server file for the corresponding file name.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerFileSystem.deleteFile(ServerFile file)
Deletes the specified file from this file system.
|
boolean |
ServerFileSystem.directoryOrFileExists(ServerFile path,
boolean isDirectory)
Returns whether a directory or file exists.
|
boolean |
ServerFileSystem.exists(ServerFile file)
Returns whether a file exists.
|
java.lang.String |
ServerFileSystem.getAbsolutePath(ServerFile file)
Returns the absolute pathname or
null if
the absolute path cannot be determined. |
ServerFile |
ServerFileSystem.getAbsoluteServerFile(ServerFile file)
Returns a file representing the absolute pathname or
null if
the absolute path cannot be determined. |
ServerFile |
ServerFileSystem.getChild(ServerFile parent,
java.lang.String filename)
Returns the named child in the supplied parent.
|
ServerFile[] |
ServerFileSystem.getFiles(ServerFile directory)
Returns the list of files in the specified directory of the file system.
|
ServerFile |
ServerFileSystem.getParentDirectory(ServerFile file)
Returns the parent directory of a file in the file system
|
long |
ServerFileSystem.getSize(ServerFile file)
Returns the size, in bytes, of the specified file in this file system.
|
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.