org.gudy.azureus2.ui.console
Class CommandReader
java.lang.Object
java.io.Reader
org.gudy.azureus2.ui.console.CommandReader
- All Implemented Interfaces:
- Closeable, Readable
public class CommandReader
- extends Reader
- Author:
- tobi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandReader
public CommandReader(Reader _in)
- Creates a new instance of CommandReader
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
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
readLine
public String readLine()
throws IOException
- Throws:
IOException
parseCommandLine
public List parseCommandLine(String commandLine)