org.apache.james.mime4j.descriptor
Interface RFC2557ContentLocationDescriptor

All Known Implementing Classes:
MaximalBodyDescriptor

public interface RFC2557ContentLocationDescriptor

Describes RFC2557 Content-Location.


Method Summary
 java.lang.String getContentLocation()
          Get the content-location header value.
 MimeException getContentLocationParseException()
          Gets any exception thrown during the parsing of #getContentLanguage()
 

Method Detail

getContentLocation

java.lang.String getContentLocation()
Get the content-location header value. See RFC2557

Returns:
the URL content-location or null if no header exists

getContentLocationParseException

MimeException getContentLocationParseException()
Gets any exception thrown during the parsing of #getContentLanguage()

Returns:
ParseException when the content-language parse fails, null otherwise


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.