org.gudy.azureus2.ui.console
Class CommandReader

java.lang.Object
  extended by java.io.Reader
      extended by org.gudy.azureus2.ui.console.CommandReader
All Implemented Interfaces:
Closeable, Readable

public class CommandReader
extends Reader

Author:
tobi

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
CommandReader(Reader _in)
          Creates a new instance of CommandReader
 
Method Summary
 void close()
           
 List parseCommandLine(String commandLine)
           
 int read()
           
 int read(char[] cbuf, int off, int len)
           
 String readLine()
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandReader

public CommandReader(Reader _in)
Creates a new instance of CommandReader

Method Detail

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)