Class 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
      void checkAccess​(java.nio.file.Path path, java.nio.file.AccessMode[] modes)  
      java.nio.file.attribute.FileAttributeView getFileAttributeView​(java.nio.file.Path path, java.lang.Class type, java.nio.file.LinkOption[] options)  
      java.nio.channels.SeekableByteChannel getSeekableByteChannel()  
      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)  
      java.util.Map<java.lang.String,​java.lang.Object> readAttributes​(java.nio.file.Path path, java.lang.String attributes, java.nio.file.LinkOption[] options)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VirtualFile

        public VirtualFile​(java.nio.file.Path delegate,
                           java.nio.file.Path target,
                           java.nio.ByteBuffer renderedContent)
    • 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)