public class StandardInputCommand extends DaemonizedStringIOCommand
| Constructor and Description |
|---|
StandardInputCommand(String[] cmd,
String dir,
Map<String,String> environment,
String delimiterIn,
String delimiterOut,
boolean useEnvLineSeparator,
boolean delLastNewline,
boolean includeDelim,
int timeOut,
int startWait,
int restartwait,
int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDelimiter() |
String |
getNextResult() |
void |
put(String input) |
clear, close, doGetNextResult, doGetNextResult, doPut, startpublic void put(String input) throws IOException
put in interface Command<String,String>put in class DaemonizedStringIOCommandIOExceptionpublic String getNextResult() throws InterruptedException, IOException
getNextResult in interface Command<String,String>getNextResult in class DaemonizedStringIOCommandInterruptedExceptionIOExceptionprotected String getDelimiter()
getDelimiter in class DaemonizedStringIOCommandCopyright (C) 2014 Information Analysis Laboratory, NICT
RaSC is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version.
RaSC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see (http://www.gnu.org/licenses/) .