org.apache.james.mime4j.field
Class DateTimeField

java.lang.Object
  extended by org.apache.james.mime4j.field.AbstractField
      extended by org.apache.james.mime4j.field.DateTimeField
All Implemented Interfaces:
ParsedField, Field

public class DateTimeField
extends AbstractField

Date-time field such as Date or Resent-Date.


Method Summary
 java.util.Date getDate()
           
 ParseException getParseException()
          Returns the exception that was thrown by the field parser while parsing the field value.
 
Methods inherited from class org.apache.james.mime4j.field.AbstractField
getBody, getName, getParser, getRaw, isValidField, parse, parse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDate

public java.util.Date getDate()

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-2009 The Apache Software Foundation. All Rights Reserved.