com.twelvemonkeys.io
Class StringArrayReader
java.lang.Object
java.io.Reader
java.io.StringReader
com.twelvemonkeys.io.StringArrayReader
- All Implemented Interfaces:
- Closeable, Readable
public class StringArrayReader
- extends StringReader
StringArrayReader
- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/io/StringArrayReader.java#2 $
- Author:
- Harald Kuhr, last modified by $Author: haku $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
finalLock
protected final Object finalLock
StringArrayReader
public StringArrayReader(String[] pStrings)
- Create a new string array reader.
- Parameters:
pStrings - Strings providing the character stream.
nextReader
protected final Reader nextReader()
ensureOpen
protected final void ensureOpen()
throws IOException
- Check to make sure that the stream has not been closed
- Throws:
IOException - if the stream is closed
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class StringReader
mark
public void mark(int pReadLimit)
throws IOException
- Overrides:
mark in class StringReader
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset in class StringReader
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported in class StringReader
read
public int read()
throws IOException
- Overrides:
read in class StringReader
- Throws:
IOException
read
public int read(char[] pBuffer,
int pOffset,
int pLength)
throws IOException
- Overrides:
read in class StringReader
- Throws:
IOException
ready
public boolean ready()
throws IOException
- Overrides:
ready in class StringReader
- Throws:
IOException
skip
public long skip(long pChars)
throws IOException
- Overrides:
skip in class StringReader
- Throws:
IOException
Copyright © 2015. All Rights Reserved.