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, toString
public MemoryPseudoFile(String name, byte[] data)
name
- Stringdata
- byte[]public FileInfo getFileInfo()
getFileInfo
in class PseudoFile
public NetworkFile getFile(String netPath)
getFile
in class PseudoFile
netPath
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.