Enum S3DataSource.Utils

java.lang.Object
java.lang.Enum<S3DataSource.Utils>
com.amazonaws.services.s3.model.S3DataSource.Utils
All Implemented Interfaces:
Serializable, Comparable<S3DataSource.Utils>, java.lang.constant.Constable
Enclosing interface:
S3DataSource

public static enum S3DataSource.Utils extends Enum<S3DataSource.Utils>
S3DataSource specific utilities.
  • Method Details

    • values

      public static S3DataSource.Utils[] 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

      public static S3DataSource.Utils valueOf(String name)
      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 name
      NullPointerException - 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.