|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.settings.refinements.PortnumberCriteria
public class PortnumberCriteria
A refinement criterion that checks if a URI matches a specific port number.
If the port number is not known it will try to use the default port number for the URI's scheme.
| Constructor Summary | |
|---|---|
PortnumberCriteria()
Create a new instance of PortnumberCriteria. |
|
PortnumberCriteria(java.lang.String portNumber)
Create a new instance of PortnumberCriteria. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns a description of the Criteria's current settings. |
java.lang.String |
getName()
Returns the name of the Criteria type. |
java.lang.String |
getPortNumber()
Get the port number that is to be checked against a URI. |
boolean |
isWithinRefinementBounds(UURI uri)
Check if a uri is within the bounds of this criteria. |
void |
setPortNumber(java.lang.String portNumber)
Set the port number that is to be checked against a URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortnumberCriteria()
public PortnumberCriteria(java.lang.String portNumber)
portNumber - the port number for this criteria.| Method Detail |
|---|
public boolean isWithinRefinementBounds(UURI uri)
Criteria
isWithinRefinementBounds in interface Criteriauri - the UURI to check.
public java.lang.String getPortNumber()
public void setPortNumber(java.lang.String portNumber)
portNumber - The portNumber to set.public java.lang.String getName()
Criteria
getName in interface Criteriapublic java.lang.String getDescription()
Criteria
getDescription in interface Criteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||