|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalFileSystemPropertyProvider
This interface provides a mechanism for an SDK application to offer its own instance of Local File System Properties. This interface should be used with caution, if at all. All methods of this interface must be correctly implemented, since the methods on this interface override the methods of the File Object, when set
| Method Summary | |
|---|---|
void |
clear()
Reset the state of this instance |
LocalFileSystemPropertyProvider |
clone(File f)
Clone an instance of the implementor |
boolean |
getExecutable()
returns True if the local file is an executable |
boolean |
getExists()
returns True if the local file exists |
File |
getFile()
returns the StarTeam File object associated with this instance |
DateTime |
getLastModified()
returns the date/time that this file was last modified |
long |
getLength()
the size of the local file |
java.lang.String |
getName()
returns the name of the local file |
java.lang.String |
getPath()
returns the fully qualified path to the local file |
File.Status |
getStatus()
returns the status of this file w.r.t. |
boolean |
getStatusKnown()
returns True if the status of this file (w.r.t. |
void |
setExecutable(boolean executable)
Set to True if the local file is an executable |
void |
setExists(boolean exists)
Set to True if the local file exists |
void |
setLastModified(DateTime lastModified)
Set the date/time that the local file was modified |
void |
setLength(long length)
Set the size of the local file |
void |
setName(java.lang.String name)
Set the local file system name |
void |
setPath(java.lang.String path)
Set the local file system path |
void |
setStatus(File.Status status)
Set the status of the local file w.r.t. |
| Method Detail |
|---|
File.Status getStatus()
File.Statusboolean getStatusKnown()
long getLength()
DateTime getLastModified()
throws java.io.IOException
java.io.IOExceptionboolean getExists()
java.lang.String getName()
throws java.io.IOException
java.io.IOException
java.lang.String getPath()
throws java.io.IOException
java.io.IOException
boolean getExecutable()
throws java.io.IOException
java.io.IOExceptionFile getFile()
void setStatus(File.Status status)
status - the status of the local file w.r.t. its peer in the repositoryFile.Statusvoid setLength(long length)
length - the size of the local filevoid setLastModified(DateTime lastModified)
lastModified - the date/time that the local file was modifiedvoid setExists(boolean exists)
exists - True if the local file existsvoid setName(java.lang.String name)
name - the local file system namevoid setPath(java.lang.String path)
path - the local file system pathvoid setExecutable(boolean executable)
executable - True if the local file is an executablevoid clear()
LocalFileSystemPropertyProvider clone(File f)
f - the File in whose context the clone is created
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||