Class TrackableByteArrayInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- java.io.ByteArrayInputStream
- 
- com.inductiveautomation.ignition.client.util.TrackableByteArrayInputStream
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable
 
 public class TrackableByteArrayInputStream extends java.io.ByteArrayInputStreamA Byte array that notifies an instance of child interface "Tracker" about the progress through the stream
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceTrackableByteArrayInputStream.Tracker
 - 
Constructor SummaryConstructors Constructor Description TrackableByteArrayInputStream(byte[] buf, TrackableByteArrayInputStream.Tracker tracker)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()TrackableByteArrayInputStream.TrackergetTracker()intread()intread(byte[] b, int off, int len)voidreset()longskip(long n)
 
- 
- 
- 
Constructor Detail- 
TrackableByteArrayInputStreampublic TrackableByteArrayInputStream(byte[] buf, TrackableByteArrayInputStream.Tracker tracker)
 
- 
 - 
Method Detail- 
getTrackerpublic TrackableByteArrayInputStream.Tracker getTracker() 
 - 
readpublic int read() - Overrides:
- readin class- java.io.ByteArrayInputStream
 
 - 
readpublic int read(byte[] b, int off, int len)- Overrides:
- readin class- java.io.ByteArrayInputStream
 
 - 
resetpublic void reset() - Overrides:
- resetin class- java.io.ByteArrayInputStream
 
 - 
skippublic long skip(long n) - Overrides:
- skipin class- java.io.ByteArrayInputStream
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.ByteArrayInputStream
- Throws:
- java.io.IOException
 
 
- 
 
-