|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.data.util.naming.URIScheme
File types understood by the replica manager.
Field Summary | |
static java.lang.String |
FILE_SCHEME
|
static java.lang.String |
FTP_SCHEME
|
static java.lang.String |
GSIFTP_SCHEME
|
static java.lang.String |
GUID_SCHEME
|
static java.lang.String |
HTTP_SCHEME
|
static java.lang.String |
HTTPG_SCHEME
|
static java.lang.String |
HTTPS_SCHEME
|
static java.lang.String |
LFN_SCHEME
|
static java.lang.String |
SFN_SCHEME
|
static java.lang.String |
SRM_SCHEME
|
Constructor Summary | |
URIScheme()
|
Method Summary | |
static java.net.URI |
asGsiftp(java.net.URI uri)
Convert a SURL to a GSIFTP URI. |
static java.net.URI |
asSurl(java.net.URI uri)
Convert a physical name to a SURL. |
static boolean |
isFile(java.net.URI uri)
Is this a file URL |
static boolean |
isFtp(java.net.URI uri)
Is this a http URL |
static boolean |
isGsiftp(java.net.URI uri)
Is this a GsiFtp URI? |
static boolean |
isGuid(java.lang.String uri)
|
static boolean |
isGuid(java.net.URI uri)
Is this a GUID ? |
static boolean |
isHttp(java.net.URI uri)
Is this a http URL |
static boolean |
isHttpg(java.net.URI uri)
Is this a httpg URL |
static boolean |
isHttps(java.net.URI uri)
Is this a https URL |
static boolean |
isLfn(java.lang.String uri)
|
static boolean |
isLfn(java.net.URI uri)
Is this a LFN |
static boolean |
isLogical(java.net.URI uri)
Is this a URI for a logical file (i.e. |
static boolean |
isPhysical(java.net.URI uri)
Is this a URI fora physical file? |
static boolean |
isSfn(java.net.URI uri)
Is this a real SFN Storage File Name? |
static boolean |
isSrm(java.net.URI uri)
Is this a real SRM Storage File Name? |
static boolean |
isSurl(java.lang.String uri)
|
static boolean |
isSurl(java.net.URI uri)
Is this a Storage File Name? |
static boolean |
isValidHostname(java.lang.String hostname)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String FILE_SCHEME
public static final java.lang.String FTP_SCHEME
public static final java.lang.String HTTPS_SCHEME
public static final java.lang.String HTTPG_SCHEME
public static final java.lang.String HTTP_SCHEME
public static final java.lang.String GSIFTP_SCHEME
public static final java.lang.String GUID_SCHEME
public static final java.lang.String LFN_SCHEME
public static final java.lang.String SFN_SCHEME
public static final java.lang.String SRM_SCHEME
Constructor Detail |
public URIScheme()
Method Detail |
public static boolean isLfn(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isLfn(java.lang.String uri)
public static boolean isGuid(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isGuid(java.lang.String uri)
public static boolean isSurl(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isSurl(java.lang.String uri)
public static boolean isSrm(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isSfn(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isGsiftp(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isHttp(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isHttps(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isHttpg(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isFtp(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isFile(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isPhysical(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static boolean isLogical(java.net.URI uri)
uri
- the URI to check
true
if it ispublic static java.net.URI asSurl(java.net.URI uri)
null
if the uri
is a logical name or a file URI (i.e. local) or null
uri
- the physical name to convert
public static java.net.URI asGsiftp(java.net.URI uri)
null
if the uri
is not a SURL
uri
- the physical name to convert
public static boolean isValidHostname(java.lang.String hostname)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |