public class URL
extends Object
Represents a URL contained in an item.
-
Method Summary
boolean
Get whether this URL is a primary URL address or not.
Get the actual string URL.
int
Create a new primary URL from the given string.
Create a new non-primary URL from the given string.
-
Method Details
-
getUrl
Get the actual string URL.
- Returns:
- the string URL
-
getPrimary
Get whether this URL is a primary URL address or not.
- Returns:
- true if this URL is primary, false otherwise
-
-
-
-
primary
Create a new primary URL from the given string.
- Parameters:
url
- the string URL
- Returns:
- a new instance of
URL
-
standard
Create a new non-primary URL from the given string.
- Parameters:
url
- the string URL
- Returns:
- a new instance of
URL