Class ByteSourceFile

    • Constructor Detail

      • ByteSourceFile

        public ByteSourceFile​(java.io.File file)
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Specified by:
        getInputStream in class ByteSource
        Throws:
        java.io.IOException
      • getBlock

        public byte[] getBlock​(long start,
                               int length)
                        throws java.io.IOException
        Specified by:
        getBlock in class ByteSource
        Throws:
        java.io.IOException
      • getAll

        public byte[] getAll()
                      throws java.io.IOException
        Specified by:
        getAll in class ByteSource
        Throws:
        java.io.IOException