public class StatusURLandFile extends StatusURLDescriptor
Modifier and Type | Field and Description |
---|---|
private String |
file |
BAD_CONTENT_FIELD, BAD_REPLY_TO_FIELD, EXCEPTION_CAUGHT, SUCCESS, TIMEOUT, UNEXEPCTED_EXCEPTION_CAUGHT, UNKNOWN_ERROR, UNKNOWN_REPLY, UNKNOWN_WARNING
Constructor and Description |
---|
StatusURLandFile() |
StatusURLandFile(int status,
URLDescriptor url,
String file) |
StatusURLandFile(int status,
URLDescriptor url,
String file,
String comment) |
StatusURLandFile(String s) |
Modifier and Type | Method and Description |
---|---|
void |
fromString_extension(TokenParser parser)
To be overridden by subclasses to read any additional information from a string.
|
String |
getFile() |
void |
setFile(String file) |
String |
toString_extension()
other methods
stringBuffer buffer --> Initializes a new String object with the contents
of the StringBuffer argument.
|
getURL, setURL
clone, codeToString, fromString, fromString, fromString2, getExplanation, getStatusValue, main, setExplanation, setStatus, setStatusValue, toString
private String file
public StatusURLandFile()
public StatusURLandFile(int status, URLDescriptor url, String file)
public StatusURLandFile(int status, URLDescriptor url, String file, String comment)
public void setFile(String file)
file
- public String getFile()
public String toString_extension()
toString_extension
in class StatusURLDescriptor
public void fromString_extension(TokenParser parser) throws Exception
Status
fromString_extension
in class StatusURLDescriptor
ParseException
Exception