public static enum S3DataSource.Utils extends Enum<S3DataSource.Utils>
S3DataSource
specific utilities.Modifier and Type | Method and Description |
---|---|
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.
|
static S3DataSource.Utils |
valueOf(String name)
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.
|
public static S3DataSource.Utils[] values()
for (S3DataSource.Utils c : S3DataSource.Utils.values()) System.out.println(c);
public static S3DataSource.Utils valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void cleanupDataSource(S3DataSource req, File fileOrig, InputStream inputStreamOrig, InputStream inputStreamCurr, org.apache.commons.logging.Log log)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.