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, start
public void put(String input) throws IOException
put
in interface Command<String,String>
put
in class DaemonizedStringIOCommand
IOException
public String getNextResult() throws InterruptedException, IOException
getNextResult
in interface Command<String,String>
getNextResult
in class DaemonizedStringIOCommand
InterruptedException
IOException
protected String getDelimiter()
getDelimiter
in class DaemonizedStringIOCommand
Copyright (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/) .