Class UnpackedByteCount
java.lang.Object
org.apache.tika.pipes.core.extractor.UnpackedByteCount
Running total of bytes
UnpackExtractor has written out for the current request,
checked against UnpackConfig.maxUnpackBytesOrUnlimited().
One instance per request: create it alongside the request's UnpackHandler
and bind it into the request's ParseContext. Not thread-safe.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UnpackedByteCount
public UnpackedByteCount()
-
-
Method Details
-
add
public void add(long n) -
get
public long get()
-