org.apache.james.mime4j.field
Class ContentLocationFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.ContentLocationFieldImpl
- All Implemented Interfaces:
- ContentLocationField, ParsedField, Field
public class ContentLocationFieldImpl
- extends AbstractField
- implements ContentLocationField
Represents a Content-Location
field.
PARSER
public static final FieldParser<ContentLocationField> PARSER
getLocation
public String getLocation()
- Description copied from interface:
ContentLocationField
- Gets the content location defined in this field.
- Specified by:
getLocation
in interface ContentLocationField
- Returns:
- the content location or
null
if not set.
getParseException
public ParseException getParseException()
- Description copied from interface:
ParsedField
- Returns the exception that was thrown by the field parser while parsing
the field value. The result is
null
if the field is valid
and no errors were encountered.
- Specified by:
getParseException
in interface ParsedField
- Overrides:
getParseException
in class AbstractField
- Returns:
- the exception that was thrown by the field parser or
null
if the field is valid. - See Also:
ParsedField.getParseException()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.