org.sonar.squid.text
Class StringArrayReader
java.lang.Object
java.io.Reader
org.sonar.squid.text.StringArrayReader
- All Implemented Interfaces:
- Closeable, Readable
public class StringArrayReader
- extends Reader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringArrayReader
public StringArrayReader(String[] array)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
ready
public boolean ready()
throws IOException
- Overrides:
ready
in class Reader
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class Reader
mark
public void mark(int readAheadLimit)
throws IOException
- Overrides:
mark
in class Reader
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
Copyright © 2009 SonarSource SA. All Rights Reserved.