public class ServerStrings
extends java.lang.Object
Constructor and Description |
---|
ServerStrings() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String string)
Add a fragment to be managed
|
void |
clearAll()
Clear all fragments being managed
|
java.lang.String[] |
getAll()
Get all fragments being managed
|
boolean |
matches(java.lang.String reply)
Returns true if any fragment is found in the supplied
string.
|
boolean |
remove(java.lang.String string)
Remove a managed fragment.
|
int |
size()
Fragment count
|
public void add(java.lang.String string)
string
- new message fragmentpublic java.lang.String[] getAll()
public void clearAll()
public int size()
public boolean remove(java.lang.String string)
string
- string to be removedpublic boolean matches(java.lang.String reply)
reply
- server reply to test for matchesCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.