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 Summary
Nested Classes - 
Field Summary
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos - 
Constructor Summary
ConstructorsConstructorDescriptionTrackableByteArrayInputStream(byte[] buf, TrackableByteArrayInputStream.Tracker tracker)  - 
Method Summary
Methods inherited from class java.io.ByteArrayInputStream
available, mark, markSupported, readAllBytes, readNBytes, transferToMethods inherited from class java.io.InputStream
nullInputStream, read, readNBytes, skipNBytes 
- 
Constructor Details
- 
TrackableByteArrayInputStream
 
 - 
 - 
Method Details
- 
getTracker
 - 
read
public int read()- Overrides:
 readin classByteArrayInputStream
 - 
read
public int read(byte[] b, int off, int len) - Overrides:
 readin classByteArrayInputStream
 - 
reset
public void reset()- Overrides:
 resetin classByteArrayInputStream
 - 
skip
public long skip(long n) - Overrides:
 skipin classByteArrayInputStream
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classByteArrayInputStream- Throws:
 IOException
 
 -