Class StreamGobbler

java.lang.Object
org.apache.tika.utils.StreamGobbler
All Implemented Interfaces:
Runnable

public class StreamGobbler extends Object implements Runnable
  • Constructor Details

    • StreamGobbler

      public StreamGobbler(InputStream is, int maxBufferLength)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getLines

      public List<String> getLines()
    • getStreamLength

      public long getStreamLength()
    • getIsTruncated

      public boolean getIsTruncated()