Class FileInfoInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class FileInfoInputStream
    extends java.io.FileInputStream
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getBytesRead()  
      int read()  
      int read​(byte[] bytes)  
      int read​(byte[] bytes, int i, int i1)  
      • Methods inherited from class java.io.FileInputStream

        available, close, finalize, getChannel, getFD, skip
      • Methods inherited from class java.io.InputStream

        mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
      • Methods inherited from class java.lang.Object

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

      • FileInfoInputStream

        public FileInfoInputStream​(java.lang.String file)
                            throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • FileInfoInputStream

        public FileInfoInputStream​(java.io.File file)
                            throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
    • Method Detail

      • getBytesRead

        public long getBytesRead()
      • read

        public int read()
                 throws java.io.IOException
        Overrides:
        read in class java.io.FileInputStream
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] bytes)
                 throws java.io.IOException
        Overrides:
        read in class java.io.FileInputStream
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] bytes,
                        int i,
                        int i1)
                 throws java.io.IOException
        Overrides:
        read in class java.io.FileInputStream
        Throws:
        java.io.IOException