? CharSequenceInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.io.input.CharSequenceInputStream
- ????????:
Closeable
,AutoCloseable
InputStream
implementation that can read from String, StringBuffer,
StringBuilder or CharBuffer.
- ???????:
- 2.2
-
?????
????????CharSequenceInputStream
(CharSequence cs, String charset) Constructor, callsCharSequenceInputStream(CharSequence, String, int)
with a buffer size of 2048.CharSequenceInputStream
(CharSequence cs, String charset, int bufferSize) Constructor, callsCharSequenceInputStream(CharSequence, Charset, int)
.CharSequenceInputStream
(CharSequence cs, Charset charset) Constructor, callsCharSequenceInputStream(CharSequence, Charset, int)
with a buffer size of 2048.CharSequenceInputStream
(CharSequence cs, Charset charset, int bufferSize) Constructor. -
????
??????? java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
???????
-
CharSequenceInputStream
Constructor.- ??:
cs
- the input character sequencecharset
- the character set name to usebufferSize
- the buffer size to use.- ??:
IllegalArgumentException
- if the buffer is not large enough to hold a complete character
-
CharSequenceInputStream
Constructor, callsCharSequenceInputStream(CharSequence, Charset, int)
.- ??:
cs
- the input character sequencecharset
- the character set name to usebufferSize
- the buffer size to use.- ??:
IllegalArgumentException
- if the buffer is not large enough to hold a complete character
-
CharSequenceInputStream
Constructor, callsCharSequenceInputStream(CharSequence, Charset, int)
with a buffer size of 2048.- ??:
cs
- the input character sequencecharset
- the character set name to use- ??:
IllegalArgumentException
- if the buffer is not large enough to hold a complete character
-
CharSequenceInputStream
Constructor, callsCharSequenceInputStream(CharSequence, String, int)
with a buffer size of 2048.- ??:
cs
- the input character sequencecharset
- the character set name to use- ??:
IllegalArgumentException
- if the buffer is not large enough to hold a complete character
-
-
??????
-
read
- ??:
read
???InputStream
- ??:
IOException
-
read
- ???:
read
???InputStream
- ??:
IOException
-
read
- ??:
read
???InputStream
- ??:
IOException
-
skip
- ??:
skip
???InputStream
- ??:
IOException
-
available
Return an estimate of the number of bytes remaining in the byte stream.- ??:
available
???InputStream
- ??:
- the count of bytes that can be read without blocking (or returning EOF).
- ??:
IOException
- if an error occurs (probably not possible)
-
close
- ???:
close
????AutoCloseable
- ???:
close
????Closeable
- ??:
close
???InputStream
- ??:
IOException
-
mark
- ??:
mark
???InputStream
- ??:
readlimit
- max read limit (ignored)
-
reset
- ??:
reset
???InputStream
- ??:
IOException
-
markSupported
- ??:
markSupported
???InputStream
-