org.cogchar.bundle.demo.convo
Class PannousProcessor
java.lang.Object
org.cogchar.bundle.demo.convo.PannousProcessor
- All Implemented Interfaces:
- org.jflux.api.core.Adapter<String,ConvoResponse>
public class PannousProcessor
- extends Object
- implements org.jflux.api.core.Adapter<String,ConvoResponse>
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myTimeout
protected int myTimeout
PannousProcessor
public PannousProcessor(String location,
int timeout)
adapt
public ConvoResponse adapt(String input)
- Specified by:
adapt in interface org.jflux.api.core.Adapter<String,ConvoResponse>
getResponseString
public String getResponseString(String resultStr)
streamToString
public static String streamToString(InputStream is,
String encoding)
throws IOException
- Throws:
IOException
Copyright © 2010-2014. All Rights Reserved.