01: // MimeParserFactory.java
02: // $Id: MimeParserFactory.java,v 1.5 1998/01/22 14:30:32 bmahe Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.www.mime;
07:
08: /**
09: * This class is used by the MimeParser, to create new MIME message holders.
10: * Each MIME parse instances is custmozied wit hits own factory, which it
11: * will use to create MIME header holders.
12: */
13:
14: public interface MimeParserFactory {
15:
16: /**
17: * Create a new header holder to hold the parser's result.
18: * @param parser The parser that has something to parse.
19: * @return A MimeParserHandler compliant object.
20: */
21:
22: abstract public MimeHeaderHolder createHeaderHolder(
23: MimeParser parser);
24:
25: }
|