public class MemoryPseudoFile extends PseudoFile
Pseudo file class that uses an in memory buffer for the file data.
_creationDateTime| Constructor and Description |
|---|
MemoryPseudoFile(String name,
byte[] data)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
NetworkFile |
getFile(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(String name, byte[] data)
name - Stringdata - byte[]public FileInfo getFileInfo()
getFileInfo in class PseudoFilepublic NetworkFile getFile(String netPath)
getFile in class PseudoFilenetPath - StringCopyright © 2005–2020 Alfresco Software. All rights reserved.