|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.io.XPFileSystemObject
XPFileSystemObject is the base class for XPFile and XPDirectory and it contains methods that are common to file and directory manipulation.
Constructor Summary | |
XPFileSystemObject()
|
Method Summary | |
abstract void |
Delete()
Delete this file/directory. |
abstract boolean |
Exists()
Returns true if this file/directory exists; false otherwise. |
static XPFileSystemObject |
GetExistingPath(java.lang.String absolutePath)
Creates a new XPFile or XPDirectory based on the given path. |
abstract java.lang.String |
GetFullPath()
Returns the full path for this file/directory (e.g. |
abstract XPDateTime |
GetLastModifiedTime()
Returns the last modified time of this file system object. |
abstract java.lang.String |
GetName()
Returns the name of this file/directory(e.g. |
abstract XPDirectory |
GetParent()
Returns an XPDirectory representing the directory this object resides in. |
static java.lang.String |
GetPathSeparator()
Returns the character that is used as a delimiter between the section of the path (on Windows, this should return "\"; on most UNIX platforms this should return "/"). |
abstract boolean |
IsDirectory()
Returns a boolean value that determines if this object is a directory or not. |
abstract boolean |
IsHidden()
Returns a boolean value that determines if this file system object is hidden. |
abstract boolean |
IsReadOnly()
Returns a boolean value that determines if this file system object is read only or not. |
abstract boolean |
SetReadOnly()
Returns a boolean value that determines if the Readonly property is set or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPFileSystemObject()
Method Detail |
public abstract void Delete()
public abstract boolean Exists()
public abstract java.lang.String GetFullPath()
public abstract java.lang.String GetName()
public abstract XPDirectory GetParent()
public abstract boolean IsDirectory()
public static java.lang.String GetPathSeparator()
public abstract XPDateTime GetLastModifiedTime()
public abstract boolean SetReadOnly()
public abstract boolean IsReadOnly()
public abstract boolean IsHidden()
public static XPFileSystemObject GetExistingPath(java.lang.String absolutePath) throws XPFileNotFoundException
absolutePath
- - the absolute file path to retrieve
XPFileNotFoundException
- - if the path doesn't exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |