|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PolicyParser
Parse a policy file and propagate parsing events to the parse listener.
This interface is primarily used to provide with concrete parsing
algorithms for policy files.
created on Jun 13, 2005
PolicyFileParser| Method Summary | |
|---|---|
PolicyParseListener |
getListener()
|
void |
parse(java.net.URL policyFile)
parse policy file as given url file location |
void |
parse(java.net.URL url,
java.io.Reader policyFile)
parse policy file as given stream and url location |
void |
setListener(PolicyParseListener listener)
set events listener |
| Method Detail |
|---|
void setListener(PolicyParseListener listener)
listener - to usePolicyParseListener getListener()
void parse(java.net.URL url,
java.io.Reader policyFile)
throws PolicyParseException
url - of the policy filepolicyFile - content to be parsed
PolicyParseException
void parse(java.net.URL policyFile)
throws PolicyParseException,
java.io.FileNotFoundException,
java.io.IOException
policyFile - to parse
PolicyParseException
java.io.FileNotFoundException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||