ServerFile Objects
This encapsulates the representation of a file on the server file system. A server file always uses / to separate directory paths since this is valid for both UNIX and Windows file systems.
s.getName() : string
Returns the name of the file.
s.getParent() : string
Returns the pathname of the parent directory.
s.getParentServerFile() : ServerFile
Returns a file representing the parent directory.
s.getPath() : string
Returns the pathname of the file.
s.isAbsolute() : boolean
Returns whether the pathname is absolute.
s.isDirectory() : boolean
Returns whether this file is a directory.