solar.service.pack.lang
Interface PolicyParser

All Known Implementing Classes:
XmlPolicyParser

public interface PolicyParser

Interface for the parser of PACK policy.

Version:
$Id: PolicyParser.java,v 1.1 2003/09/25 21:54:00 glchen Exp $
Author:
Guanling Chen

Method Summary
 PackPolicy parse(java.io.File file)
          Parse the PACK policy from a file.
 PackPolicy parse(java.io.InputStream in)
          Parse the PACK policy from an input stream.
 PackPolicy parse(java.io.Reader in)
          Parse the PACK policy from a reader.
 PackPolicy parse(java.lang.String xml)
          Parse the PACK policy from a string.
 

Method Detail

parse

public PackPolicy parse(java.io.File file)
                 throws ParsingException
Parse the PACK policy from a file.

ParsingException

parse

public PackPolicy parse(java.io.InputStream in)
                 throws ParsingException
Parse the PACK policy from an input stream.

ParsingException

parse

public PackPolicy parse(java.io.Reader in)
                 throws ParsingException
Parse the PACK policy from a reader.

ParsingException

parse

public PackPolicy parse(java.lang.String xml)
                 throws ParsingException
Parse the PACK policy from a string.

ParsingException