public class DatasetUrl extends Object
Modifier and Type | Field and Description |
---|---|
ServiceType |
serviceType
Deprecated.
|
String |
trueurl
Deprecated.
|
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) |
static List<String> |
getProtocols(String url)
Return the set of leading protocols for a url; may be more than one.
|
ServiceType |
getServiceType() |
String |
getTrueurl() |
int |
hashCode() |
@Deprecated public final ServiceType serviceType
@Deprecated public final String trueurl
public static DatasetUrl create(@Nullable ServiceType serviceType, String trueurl)
serviceType
- The serviceType, may be null if not known.trueurl
- The actual URLpublic static DatasetUrl findDatasetUrl(String orgLocation) throws IOException
IOException
public static List<String> getProtocols(String url)
url
- the url whose protocols to returnpublic ServiceType getServiceType()
public String getTrueurl()