Interface ReadOnlyMemoryFile

    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • getFile

        java.io.File getFile()
                      throws java.io.IOException
        returns the File object this MemoryFile is bound to
        Throws:
        java.io.IOException
      • getBytes

        byte[] getBytes()
                 throws java.io.IOException
        returns the contents of the file as a byte[]
        Throws:
        java.io.IOException