public abstract class CommandlineStreamParser extends Object implements ProtocolStreamParser
| Modifier and Type | Field and Description | 
|---|---|
protected BufferedReader | 
m_In  | 
| Constructor and Description | 
|---|
CommandlineStreamParser()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract BufferedReader | 
createBufferedReader(InputStream in)  | 
void | 
initializeParsingStream(InputStream in)
Initializes the stream for reading commands based on a specific protocols notion
 of draining an InputStream. 
 | 
CommandInvocationObject | 
readCommand()
One Command per line. 
 | 
protected BufferedReader m_In
protected abstract BufferedReader createBufferedReader(InputStream in) throws Exception
Exceptionpublic void initializeParsingStream(InputStream in) throws Exception
ProtocolStreamParserinitializeParsingStream in interface ProtocolStreamParserExceptionpublic CommandInvocationObject readCommand() throws Exception
readCommand in interface ProtocolStreamParserExceptionCopyright © 2025. All rights reserved.