Closeable, AutoCloseable, Readablepublic class StringArrayReader extends StringReader
| Constructor | Description |
|---|---|
StringArrayReader(String[] pStrings) |
Create a new string array reader.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
protected void |
ensureOpen() |
Check to make sure that the stream has not been closed
|
void |
mark(int pReadLimit) |
|
boolean |
markSupported() |
|
protected Reader |
nextReader() |
|
int |
read() |
|
int |
read(char[] pBuffer,
int pOffset,
int pLength) |
|
boolean |
ready() |
|
void |
reset() |
|
long |
skip(long pChars) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, read, transferToprotected final Object finalLock
public StringArrayReader(String[] pStrings)
pStrings - Strings providing the character stream.protected final Reader nextReader()
protected final void ensureOpen()
throws IOException
IOException - if the stream is closedpublic void close()
close in interface AutoCloseableclose in interface Closeableclose in class StringReaderpublic void mark(int pReadLimit)
throws IOException
mark in class StringReaderIOExceptionpublic void reset()
throws IOException
reset in class StringReaderIOExceptionpublic boolean markSupported()
markSupported in class StringReaderpublic int read()
throws IOException
read in class StringReaderIOExceptionpublic int read(char[] pBuffer,
int pOffset,
int pLength)
throws IOException
read in class StringReaderIOExceptionpublic boolean ready()
throws IOException
ready in class StringReaderIOExceptionpublic long skip(long pChars)
throws IOException
skip in class StringReaderIOExceptionCopyright © 2018. All rights reserved.