public class MemoryPseudoFile extends PseudoFile
Pseudo file class that uses an in memory buffer for the file data.
_creationDateTime| Constructor and Description |
|---|
MemoryPseudoFile(java.lang.String name,
byte[] data)
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
|
getAttributes, getFileName, getInfo, isDirectory, isFile, isHidden, isReadOnly, setFileInfo, toStringpublic MemoryPseudoFile(java.lang.String name,
byte[] data)
name - Stringdata - byte[]public FileInfo getFileInfo()
getFileInfo in class PseudoFilepublic NetworkFile getFile(java.lang.String netPath)
getFile in class PseudoFilenetPath - StringCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.