|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.detector.simple.response.LineOrientedResponse
public class LineOrientedResponse
LineOrientedResponse class.
| Constructor Summary | |
|---|---|
LineOrientedResponse(String response)
Constructor for LineOrientedResponse. |
|
| Method Summary | |
|---|---|
boolean |
contains(String pattern)
contains |
boolean |
endsWith(String suffix)
endsWith |
boolean |
equals(String response)
equals |
boolean |
find(String regex)
find |
String |
getResponse()
getResponse |
boolean |
matches(String regex)
matches |
void |
receive(BufferedReader in)
receive |
void |
setResponse(String response)
setResponse |
boolean |
startsWith(String prefix)
startsWith |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LineOrientedResponse(String response)
Constructor for LineOrientedResponse.
response - a String object.| Method Detail |
|---|
public void receive(BufferedReader in)
throws IOException
receive
in - a BufferedReader object.
IOException - if any.public boolean startsWith(String prefix)
startsWith
prefix - a String object.
public boolean contains(String pattern)
contains
pattern - a String object.
public boolean endsWith(String suffix)
endsWith
suffix - a String object.
public boolean matches(String regex)
matches
regex - a String object.
public boolean find(String regex)
find
regex - a String object.
public boolean equals(String response)
equals
response - a String object.
public String toString()
toString
toString in class ObjectString object.public void setResponse(String response)
setResponse
response - a String object.public String getResponse()
getResponse
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||