Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.james.mime4j.field
Class DelegatingFieldParser

    java.lang.Object
      org.apache.james.mime4j.field.DelegatingFieldParser

All Implemented Interfaces:
  FieldParser

Direct Known Subclasses:
  DefaultFieldParser

    public class DelegatingFieldParser

extends java.lang.Object
implements FieldParser

Constructor Summary
`DelegatingFieldParser()`

Method Summary
`FieldParser` | `getParser(java.lang.String name)`
`Field` | `parse(java.lang.String name, java.lang.String body, java.lang.String raw)`
`void` | `setFieldParser(java.lang.String name, FieldParser parser)` Sets the parser used for the field named `name`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DelegatingFieldParser

    public DelegatingFieldParser()

Method Detail

### setFieldParser

    public void setFieldParser(java.lang.String name,
                               FieldParser parser)

  Sets the parser used for the field named `name`.

  Parameters:
    `name` - the name of the field
    `parser` - the parser for fields named `name`

### getParser

    public FieldParser getParser(java.lang.String name)

### parse

    public Field parse(java.lang.String name,
                       java.lang.String body,
                       java.lang.String raw)

  Specified by:
    `parse` in interface `FieldParser`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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