javax.mail.internet
Class HeaderTokenizer

java.lang.Object
  extended by javax.mail.internet.HeaderTokenizer

public class HeaderTokenizer
extends Object

Version:
$Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $

Nested Class Summary
static class HeaderTokenizer.Token
           
 
Field Summary
static String MIME
           
static String RFC822
           
 
Constructor Summary
HeaderTokenizer(String header)
           
HeaderTokenizer(String header, String delimiters)
           
HeaderTokenizer(String header, String delimiters, boolean skipComments)
           
 
Method Summary
 String getRemainder()
           
 HeaderTokenizer.Token next()
           
 HeaderTokenizer.Token peek()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME

public static final String MIME
See Also:
Constant Field Values

RFC822

public static final String RFC822
See Also:
Constant Field Values
Constructor Detail

HeaderTokenizer

public HeaderTokenizer(String header)

HeaderTokenizer

public HeaderTokenizer(String header,
                       String delimiters)

HeaderTokenizer

public HeaderTokenizer(String header,
                       String delimiters,
                       boolean skipComments)
Method Detail

getRemainder

public String getRemainder()

next

public HeaderTokenizer.Token next()
                           throws ParseException
Throws:
ParseException

peek

public HeaderTokenizer.Token peek()
                           throws ParseException
Throws:
ParseException


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