Class ByteSource

    • Constructor Detail

      • ByteSource

        public ByteSource​(java.lang.String filename)
    • Method Detail

      • getInputStream

        public final java.io.InputStream getInputStream​(long start)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getInputStream

        public abstract java.io.InputStream getInputStream()
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getBlock

        public byte[] getBlock​(int start,
                               int length)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getBlock

        public abstract byte[] getBlock​(long start,
                                        int length)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getAll

        public abstract byte[] getAll()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getLength

        public abstract long getLength()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getDescription

        public abstract java.lang.String getDescription()
      • getFilename

        public final java.lang.String getFilename()