public class LocalPseudoFile extends PseudoFile
Pseudo file class that uses a file on the local filesystem.
_creationDateTime
Constructor and Description |
---|
LocalPseudoFile(java.lang.String name,
java.lang.String path)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
NetworkFile |
getFile(java.lang.String netPath)
Return a network file for reading/writing the pseudo file
|
FileInfo |
getFileInfo()
Return the file information for the pseudo file
|
java.lang.String |
getFilePath()
Return the path to the file on the local filesystem
|
getAttributes, getFileName, getInfo, isDirectory, isFile, isHidden, isReadOnly, setFileInfo, toString
public LocalPseudoFile(java.lang.String name, java.lang.String path)
name
- Stringpath
- Stringpublic final java.lang.String getFilePath()
public FileInfo getFileInfo()
getFileInfo
in class PseudoFile
public NetworkFile getFile(java.lang.String netPath)
getFile
in class PseudoFile
netPath
- StringCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.