public class ContentLocationFieldImpl extends AbstractField implements ContentLocationField
Content-Location field.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
location |
private boolean |
parsed |
private ParseException |
parseException |
static FieldParser<ContentLocationField> |
PARSER |
monitor, rawField| Constructor and Description |
|---|
ContentLocationFieldImpl(Field rawField,
DecodeMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLocation()
Gets the content location defined in this field.
|
ParseException |
getParseException()
Returns the exception that was thrown by the field parser while parsing
the field value.
|
private void |
parse() |
getBody, getName, getRaw, getRawField, isValidField, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidFieldprivate boolean parsed
private java.lang.String location
private ParseException parseException
public static final FieldParser<ContentLocationField> PARSER
ContentLocationFieldImpl(Field rawField, DecodeMonitor monitor)
private void parse()
public java.lang.String getLocation()
ContentLocationFieldgetLocation in interface ContentLocationFieldnull if not set.public ParseException getParseException()
ParsedFieldnull if the field is valid
and no errors were encountered.getParseException in interface ParsedFieldgetParseException in class AbstractFieldnull if the field is valid.ParsedField.getParseException()