@Immutable public class DatasetUrl extends Object
| Modifier and Type | Method and Description |
|---|---|
static DatasetUrl |
create(ServiceType serviceType,
String trueurl)
Create a DatasetUrl, which annotates a url with its service type.
|
boolean |
equals(Object o) |
static DatasetUrl |
findDatasetUrl(String orgLocation)
This creates a DatasetUrl, figures out the ServiceType if possible, and canonicalizes the URL string.
|
ServiceType |
getServiceType()
The ServiceType, or null if not known.
|
String |
getTrueurl()
The actual URL string which you give to the service specified by getServiceType().
|
int |
hashCode() |
public static DatasetUrl findDatasetUrl(String orgLocation) throws IOException
orgLocation - TODO define syntax.IOExceptionpublic static DatasetUrl create(@Nullable ServiceType serviceType, String trueurl)
serviceType - The serviceType, may be null if not known.trueurl - The actual URL string.@Nullable public ServiceType getServiceType()
public String getTrueurl()