Vordel SDK

com.vordel.mime
Class HeaderParser

java.lang.Object
  extended by com.vordel.mime.HeaderParser

public abstract class HeaderParser
extends java.lang.Object

takes the value of a header and creates an appropriate Object for use in a HeaderSet

See Also:
HeaderSet.getParsed(HeaderParser)

Constructor Summary
HeaderParser(java.lang.String headerName)
          Create a new Header parser, which has responsibility for making sense of the header which has the header name specified.
 
Method Summary
abstract  java.lang.Object parse(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderParser

public HeaderParser(java.lang.String headerName)
Create a new Header parser, which has responsibility for making sense of the header which has the header name specified.

Parameters:
headerName - The name of the Header, for example "Content-Type". Subclasses need to register their header responsibility via this parameter, so that the HeaderSet can locate the correct header.
See Also:
HeaderSet.getParsed(HeaderParser parser)
Method Detail

parse

public abstract java.lang.Object parse(java.lang.String value)
                                throws java.text.ParseException
Throws:
java.text.ParseException

Vordel SDK


This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel