Name

HeaderTokenizer.Token

Synopsis

This class represents the components of an RFC-822 or MIME header broken down by a HeaderTokenizer object.

public static class HeaderTokenizer.Token {
// Public Constructors
   public Token( int type, String value);  
// Public Constants
   public static final int ATOM;                                 // =-1
   public static final int COMMENT;                              // =-3
   public static final int EOF;                                  // =-4
   public static final int QUOTEDSTRING;                         // =-2
                  // Public Instance Methods
   public int getType();  
   public String getValue();  
}

Returned By

HeaderTokenizer.{next(), peek()}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.