Package com.thaiopensource.validate.auto
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
rewind
public void rewind()- Specified by:
rewind
in interfaceRewindable
-
canRewind
public boolean canRewind()- Specified by:
canRewind
in interfaceRewindable
-
willNotRewind
public void willNotRewind()- Specified by:
willNotRewind
in interfaceRewindable
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-