public interface NTFSStreamsInterface
Optional interface that a DiskInterface driver can implement to provide file streams support.
Modifier and Type | Method and Description |
---|---|
StreamInfo |
getStreamInformation(SrvSession sess,
TreeConnection tree,
StreamInfo streamInfo)
Return stream information for the specified stream
|
StreamInfoList |
getStreamList(SrvSession sess,
TreeConnection tree,
String fileName)
Return a list of the streams for the specified file
|
boolean |
hasStreamsEnabled(SrvSession sess,
TreeConnection tree)
Determine if NTFS streams are enabled
|
void |
renameStream(SrvSession sess,
TreeConnection tree,
String oldName,
String newName,
boolean overWrite)
Rename a stream
|
boolean hasStreamsEnabled(SrvSession sess, TreeConnection tree)
sess
- SrvSessiontree
- TreeConnectionStreamInfo getStreamInformation(SrvSession sess, TreeConnection tree, StreamInfo streamInfo) throws IOException
sess
- SrvSessiontree
- TreeConnectionstreamInfo
- StreamInfoIOException
- I/O error occurredStreamInfoList getStreamList(SrvSession sess, TreeConnection tree, String fileName) throws IOException
sess
- SrvSessiontree
- TreeConnectionfileName
- StringIOException
- I/O error occurredvoid renameStream(SrvSession sess, TreeConnection tree, String oldName, String newName, boolean overWrite) throws IOException
sess
- SrvSessiontree
- TreeConnectionoldName
- StringnewName
- StringoverWrite
- booleanIOException
Copyright © 2005–2018 Alfresco Software. All rights reserved.