Class RewindableInputStream
java.lang.Object
java.io.InputStream
com.thaiopensource.validate.auto.RewindableInputStream
- All Implemented Interfaces:
Rewindable,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
RewindableInputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
rewind
public void rewind()- Specified by:
rewindin interfaceRewindable
-
canRewind
public boolean canRewind()- Specified by:
canRewindin interfaceRewindable
-
willNotRewind
public void willNotRewind()- Specified by:
willNotRewindin interfaceRewindable
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-