Class HandyURL
java.lang.Object
org.archive.url.HandyURL
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHash()getHost()getPath()intgetPort()getQuery()getSURTString(boolean includeScheme) getURLString(boolean surt, boolean includeScheme, boolean publicSuffix) voidsetAuthPass(String authPass) voidsetAuthUser(String authUser) voidvoidvoidvoidvoidsetPort(int port) voidvoidtoURL()
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
-
Constructor Details
-
HandyURL
public HandyURL() -
HandyURL
-
-
Method Details
-
getSURTString
-
getURLString
-
getURLString
-
getPathQuery
-
toURL
- Throws:
MalformedURLException
-
getPublicSuffix
-
getPublicPrefix
-
getScheme
- Returns:
- the scheme
-
setScheme
- Parameters:
scheme- the scheme to set
-
getAuthUser
- Returns:
- the authUser
-
setAuthUser
- Parameters:
authUser- the authUser to set
-
getAuthPass
- Returns:
- the authPass
-
setAuthPass
- Parameters:
authPass- the authPass to set
-
getHost
- Returns:
- the host
-
setHost
- Parameters:
host- the host to set
-
getPort
public int getPort()- Returns:
- the port
-
setPort
public void setPort(int port) - Parameters:
port- the port to set
-
getPath
- Returns:
- the path
-
setPath
- Parameters:
path- the path to set
-
getQuery
- Returns:
- the query
-
setQuery
- Parameters:
query- the query to set
-
getHash
- Returns:
- the hash
-
setHash
- Parameters:
hash- the hash to set
-
getOpaque
- Returns:
- the opaque
-
setOpaque
- Parameters:
opaque- the opaque to set
-
toDebugString
-