Package com.mastfrog.url
Class Anchor
java.lang.Object
com.mastfrog.url.Anchor
- All Implemented Interfaces:
URLComponent,Serializable
- Author:
- tim
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Anchor
-
-
Method Details
-
toString
-
isValid
public boolean isValid()Description copied from interface:URLComponentDetermine if this component is in compliance with the RFCs governing URLs and DNS.- Specified by:
isValidin interfaceURLComponent- Returns:
- True if this component is valid.
-
getComponentName
Description copied from interface:URLComponentGet a human-readable, localized name for this part of the URL. Useful if an error message needs to be shown.- Specified by:
getComponentNamein interfaceURLComponent- Returns:
- The component name
-
appendTo
Description copied from interface:URLComponentAppend this component to a StringBuilder.- Specified by:
appendToin interfaceURLComponent- Parameters:
sb- A StringBuilder
-
equals
-
hashCode
public int hashCode()
-