|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sun.module.config.VisibilityPolicyFile
public final class VisibilityPolicyFile
This class represents a visibility policy file.
Method Summary | |
---|---|
boolean |
isVisible(ModuleDefinition moduleDef)
Returns true if the module definition should be visible in the repository of the module system. |
static VisibilityPolicy |
parse(URL url)
Parses the visibility policy file from the url and returns a VisibilityPolicy object that represents the
information in the visibility policy file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isVisible(ModuleDefinition moduleDef)
isVisible
in interface VisibilityPolicy
moduleDef
- the module definition.
public static VisibilityPolicy parse(URL url) throws IOException
VisibilityPolicy
object that represents the
information in the visibility policy file.
url
- URL of visibility policy file
VisibilityPolicy
object that represents the
information in the visibility policy file.
IOException
- if any I/O error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |