public class DatasetUrl extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
alpha |
ServiceType |
serviceType |
protected static String |
slashalpha |
String |
trueurl |
Constructor and Description |
---|
DatasetUrl(ServiceType serviceType,
String trueurl) |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
hashCode() |
protected static final String alpha
protected static final String slashalpha
public final ServiceType serviceType
public final String trueurl
public DatasetUrl(ServiceType serviceType, String trueurl)
public static List<String> getProtocols(String url)
url
- the url whose protocols to returnpublic static DatasetUrl findDatasetUrl(String orgLocation) throws IOException
IOException