Class VirtualFile
- java.lang.Object
-
- io.virtdata.docsys.metafs.fs.renderfs.fs.virtualio.VirtualFile
-
public class VirtualFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VirtualFile(java.nio.file.Path delegate, java.nio.file.Path target, java.nio.ByteBuffer renderedContent)
-
Method Summary
Modifier and Type Method Description voidcheckAccess(java.nio.file.Path path, java.nio.file.AccessMode[] modes)java.nio.file.attribute.FileAttributeViewgetFileAttributeView(java.nio.file.Path path, java.lang.Class type, java.nio.file.LinkOption[] options)java.nio.channels.SeekableByteChannelgetSeekableByteChannel()java.nio.file.attribute.BasicFileAttributesreadAttributes(java.nio.file.Path path, java.lang.Class<? extends java.nio.file.attribute.BasicFileAttributes> type, java.nio.file.LinkOption... options)java.util.Map<java.lang.String,java.lang.Object>readAttributes(java.nio.file.Path path, java.lang.String attributes, java.nio.file.LinkOption[] options)
-
-
-
Method Detail
-
readAttributes
public java.nio.file.attribute.BasicFileAttributes readAttributes(java.nio.file.Path path, java.lang.Class<? extends java.nio.file.attribute.BasicFileAttributes> type, java.nio.file.LinkOption... options) throws java.io.IOException- Throws:
java.io.IOException
-
getSeekableByteChannel
public java.nio.channels.SeekableByteChannel getSeekableByteChannel()
-
readAttributes
public java.util.Map<java.lang.String,java.lang.Object> readAttributes(java.nio.file.Path path, java.lang.String attributes, java.nio.file.LinkOption[] options) throws java.io.IOException- Throws:
java.io.IOException
-
checkAccess
public void checkAccess(java.nio.file.Path path, java.nio.file.AccessMode[] modes) throws java.io.IOException- Throws:
java.io.IOException
-
getFileAttributeView
public java.nio.file.attribute.FileAttributeView getFileAttributeView(java.nio.file.Path path, java.lang.Class type, java.nio.file.LinkOption[] options)
-
-