|
edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.FileNotFoundStrings
public final class FileNotFoundStrings
Contains fragments of server replies that indicate no files were found in a supplied directory.
| Field Summary | |
|---|---|
static String |
FILE_NOT_FOUND
Server string indicating file not found |
static String |
NO_SUCH_FILE
Server string indicating file not found |
| Constructor Summary | |
|---|---|
FileNotFoundStrings()
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(String string)
Add a fragment to be managed |
void |
clearAll()
Clear all fragments being managed |
String[] |
getAll()
Get all fragments being managed |
boolean |
matches(String reply)
Returns true if any fragment is found in the supplied string. |
boolean |
remove(String string)
Remove a managed fragment. |
int |
size()
Fragment count |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FILE_NOT_FOUND
public static final String NO_SUCH_FILE
| Constructor Detail |
|---|
public FileNotFoundStrings()
| Method Detail |
|---|
public void add(String string)
string - new message fragmentpublic String[] getAll()
public void clearAll()
public int size()
public boolean remove(String string)
string - string to be removed
public boolean matches(String reply)
reply - server reply to test for matches
|
edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||