public static enum FileReference.FileReferenceType extends java.lang.Enum<FileReference.FileReferenceType>
Enum Constant and Description |
---|
DELPHIX_MOUNT_FILE |
DELPHIX_UPLOAD_FILE |
FILE |
HTTP |
HTTPS |
JAR |
Modifier and Type | Method and Description |
---|---|
static FileReference.FileReferenceType |
fromReference(FileReference ref)
Determine the type of a file URI reference.
|
static FileReference.FileReferenceType |
fromSafeReference(FileReference ref)
Determine the type of a known valid file URI reference.
|
java.lang.String |
getAuthority() |
java.lang.String |
getScheme() |
static FileReference.FileReferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileReference.FileReferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileReference.FileReferenceType DELPHIX_UPLOAD_FILE
public static final FileReference.FileReferenceType DELPHIX_MOUNT_FILE
public static final FileReference.FileReferenceType HTTP
public static final FileReference.FileReferenceType HTTPS
public static final FileReference.FileReferenceType JAR
public static final FileReference.FileReferenceType FILE
public static FileReference.FileReferenceType[] values()
for (FileReference.FileReferenceType c : FileReference.FileReferenceType.values()) System.out.println(c);
public static FileReference.FileReferenceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getScheme()
public java.lang.String getAuthority()
public static FileReference.FileReferenceType fromReference(FileReference ref) throws ComponentConfigurationException
ref
- The reference for which the type should be determinedComponentConfigurationException
- When the reference URI is invalidpublic static FileReference.FileReferenceType fromSafeReference(FileReference ref)
ref
- The reference for which the type should be determinedInvalidDependencyException
- When the reference URI is invalid