Package com.amazonaws.services.s3.model
Enum S3DataSource.Utils
- All Implemented Interfaces:
Serializable
,Comparable<S3DataSource.Utils>
,java.lang.constant.Constable
- Enclosing interface:
S3DataSource
S3DataSource
specific utilities.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cleanupDataSource
(S3DataSource req, File fileOrig, InputStream inputStreamOrig, InputStream inputStreamCurr, org.apache.commons.logging.Log log) Clean up any temporary streams created during the execution, and restore the original file and/or input stream.static S3DataSource.Utils
Returns the enum constant of this type with the specified name.static S3DataSource.Utils[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
cleanupDataSource
public static void cleanupDataSource(S3DataSource req, File fileOrig, InputStream inputStreamOrig, InputStream inputStreamCurr, org.apache.commons.logging.Log log) Clean up any temporary streams created during the execution, and restore the original file and/or input stream.
-