Package com.deltawalker.script
Enum Class UriInfo.Key
- All Implemented Interfaces:
Serializable,Comparable<UriInfo.Key>,Constable
- Enclosing class:
UriInfo
The properties a
UriInfo can have. Each constant lists the
property name to use in the property map passed to
UriInfo(String, Map).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe character encoding of a text file, for example"UTF-8".Whether FTPS connections use explicit ("true") or implicit ("false") mode.The line ending of a text file.The locale of a text file.Whether FTP connections use passive ("true") or active ("false") mode.The password for (S)FTP(S) connections.The SSH key, for SFTP connections.The SSH passphrase, for SFTP connections.When"true", the user's home folder on an (S)FTP(S) server is treated as the root.The user name for (S)FTP(S) connections. -
Method Summary
Modifier and TypeMethodDescriptionstatic UriInfo.KeyReturns the enum constant of this class with the specified name.static UriInfo.Key[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CHARSET
The character encoding of a text file, for example"UTF-8". Property name:encoding. -
EXPLICIT_MODE
Whether FTPS connections use explicit ("true") or implicit ("false") mode. Property name:explicitMode. -
LINE_ENDING
The line ending of a text file. Property name:lineEnding. -
LOCALE
The locale of a text file. Property name:locale. -
PASSIVE_MODE
Whether FTP connections use passive ("true") or active ("false") mode. Property name:passiveMode. -
PASSWORD
The password for (S)FTP(S) connections. Property name:password. -
SSH_KEY
The SSH key, for SFTP connections. Property name:sshKey. -
SSH_PASSPHRASE
The SSH passphrase, for SFTP connections. Property name:sshPassphrase. -
USER_DIR_IS_ROOT
When"true", the user's home folder on an (S)FTP(S) server is treated as the root. Property name:userDirIsRoot. -
USERNAME
The user name for (S)FTP(S) connections. Property name:username.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-