Class WhitelistEntryPort.ExactPort
- java.lang.Object
-
- net.sourceforge.jnlp.util.whitelist.WhitelistEntryPart
-
- net.sourceforge.jnlp.util.whitelist.WhitelistEntryPort
-
- net.sourceforge.jnlp.util.whitelist.WhitelistEntryPort.ExactPort
-
- Enclosing class:
- WhitelistEntryPort
private static class WhitelistEntryPort.ExactPort extends WhitelistEntryPort
Exact port given.
-
-
Field Summary
Fields Modifier and Type Field Description private intport
-
Constructor Summary
Constructors Modifier Constructor Description privateExactPort(int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private intgetPort(java.net.URL url)booleanmatches(java.net.URL url)-
Methods inherited from class net.sourceforge.jnlp.util.whitelist.WhitelistEntryPort
parse
-
Methods inherited from class net.sourceforge.jnlp.util.whitelist.WhitelistEntryPart
effective, error, isValid
-
-
-
-
Method Detail
-
matches
public boolean matches(java.net.URL url)
- Specified by:
matchesin classWhitelistEntryPart
-
getPort
private int getPort(java.net.URL url)
-
-