public static enum S3DataSource.Utils extends java.lang.Enum<S3DataSource.Utils>
S3DataSource
specific utilities.Modifier and Type | Method and Description |
---|---|
static void |
cleanupDataSource(S3DataSource req,
java.io.File fileOrig,
java.io.InputStream inputStreamOrig,
java.io.InputStream inputStreamCurr,
com.amazonaws.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(java.lang.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(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 static void cleanupDataSource(S3DataSource req, java.io.File fileOrig, java.io.InputStream inputStreamOrig, java.io.InputStream inputStreamCurr, com.amazonaws.logging.Log log)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.