Class LazyReadOnlyMemoryFileImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()
      returns the contents of the file as a byte[]
      java.io.File getFile()
      returns the File object this MemoryFile is bound to
      • Methods inherited from class java.lang.Object

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

      • LazyReadOnlyMemoryFileImpl

        public LazyReadOnlyMemoryFileImpl​(java.io.File file)
      • LazyReadOnlyMemoryFileImpl

        public LazyReadOnlyMemoryFileImpl​(java.lang.String fname)
    • Method Detail

      • getBytes

        public byte[] getBytes()
                        throws java.io.IOException
        Description copied from interface: ReadOnlyMemoryFile
        returns the contents of the file as a byte[]
        Specified by:
        getBytes in interface ReadOnlyMemoryFile
        Throws:
        java.io.IOException