Class NullCheckedInputStream
java.lang.Object
java.io.InputStream
cool.scx.io.io_stream.CheckedInputStream
cool.scx.io.io_stream.NullCheckedInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
NullCheckedInputStream
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
Fields inherited from class cool.scx.io.io_stream.CheckedInputStream
closed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()intread()intread(byte[] b, int off, int len) byte[]intreadNBytes(byte[] b, int off, int len) byte[]readNBytes(int len) longskip(long n) voidskipNBytes(long n) longtransferTo(OutputStream out) Methods inherited from class cool.scx.io.io_stream.CheckedInputStream
ensureOpen, isClosedMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, reset
-
Constructor Details
-
NullCheckedInputStream
public NullCheckedInputStream()
-
-
Method Details
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
readAllBytes
- Overrides:
readAllBytesin classInputStream- Throws:
IOException
-
readNBytes
- Overrides:
readNBytesin classInputStream- Throws:
IOException
-
readNBytes
- Overrides:
readNBytesin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
skipNBytes
- Overrides:
skipNBytesin classInputStream- Throws:
IOException
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-