Class TrackableByteArrayInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
com.inductiveautomation.ignition.client.util.TrackableByteArrayInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
A Byte array that notifies an instance of child interface "Tracker" about the progress through the stream
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class java.io.ByteArrayInputStreambuf, count, mark, pos
- 
Constructor SummaryConstructorsConstructorDescriptionTrackableByteArrayInputStream(byte[] buf, TrackableByteArrayInputStream.Tracker tracker) 
- 
Method SummaryMethods inherited from class java.io.ByteArrayInputStreamavailable, mark, markSupported, readAllBytes, readNBytes, transferToMethods inherited from class java.io.InputStreamnullInputStream, read, readNBytes, skipNBytes
- 
Constructor Details- 
TrackableByteArrayInputStream
 
- 
- 
Method Details- 
getTracker
- 
readpublic int read()- Overrides:
- readin class- ByteArrayInputStream
 
- 
readpublic int read(byte[] b, int off, int len) - Overrides:
- readin class- ByteArrayInputStream
 
- 
resetpublic void reset()- Overrides:
- resetin class- ByteArrayInputStream
 
- 
skippublic long skip(long n) - Overrides:
- skipin class- ByteArrayInputStream
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- ByteArrayInputStream
- Throws:
- IOException
 
 
-