Class Constants


  • public class Constants
    extends Object
    Constants used by the S3Service and its implementation classes.
    Author:
    James Murty, Nikolas Coukouma
    • Field Detail

      • JETS3T_VERSION

        public static final String JETS3T_VERSION
        The JetS3t suite version number implemented by this service.
        See Also:
        Constant Field Values
      • S3_DEFAULT_HOSTNAME

        public static String S3_DEFAULT_HOSTNAME
      • GS_DEFAULT_HOSTNAME

        public static String GS_DEFAULT_HOSTNAME
      • JETS3T_PROPERTIES_FILENAME

        public static String JETS3T_PROPERTIES_FILENAME
        The name of the JetS3t properties file: jets3t.properties
      • COCKPIT_PROPERTIES_FILENAME

        public static String COCKPIT_PROPERTIES_FILENAME
        The file containing local Cockpit preferences.
      • DEVPAY_PRODUCTS_PROPERTIES_FILENAME

        public static String DEVPAY_PRODUCTS_PROPERTIES_FILENAME
        The file containing the list of AWS DevPay Products
      • DEVPAY_PRODUCT_NAME_PROP_SUFFIX

        public static String DEVPAY_PRODUCT_NAME_PROP_SUFFIX
        The property name suffix for the names of products
      • DEVPAY_PRODUCT_TOKEN_PROP_SUFFIX

        public static String DEVPAY_PRODUCT_TOKEN_PROP_SUFFIX
        The property name suffix for the tokens of products
      • JETS3T_IGNORE_FILENAME

        public static String JETS3T_IGNORE_FILENAME
        The name of the JetS3t ignore file: .jets3t-ignore
      • DEFAULT_PREFERENCES_DIRECTORY

        public static File DEFAULT_PREFERENCES_DIRECTORY
        The default preferences directory: <user.home>/.jets3t
      • FILE_PATH_DELIM

        public static String FILE_PATH_DELIM
        The file delimiter used by JetS3t is the '/' character, which is compatible with standard browser access to S3 files.
      • DEFAULT_ENCODING

        public static String DEFAULT_ENCODING
        The default encoding used for text data: UTF-8
      • HMAC_SHA1_ALGORITHM

        public static final String HMAC_SHA1_ALGORITHM
        HMAC/SHA1 Algorithm per RFC 2104, used when generating S3 signatures.
        See Also:
        Constant Field Values
      • METADATA_JETS3T_LOCAL_FILE_DATE

        public static final String METADATA_JETS3T_LOCAL_FILE_DATE
        Metadata header for storing the original date of a local file uploaded to S3, so it can be used subsequently to compare files instead of relying on the S3 upload date.
        See Also:
        Constant Field Values
      • METADATA_JETS3T_CRYPTO_ALGORITHM

        public static final String METADATA_JETS3T_CRYPTO_ALGORITHM
        Metadata header for storing information about the data encryption algorithm applied by JetS3t tools.
        See Also:
        Constant Field Values
      • METADATA_JETS3T_CRYPTO_VERSION

        public static final String METADATA_JETS3T_CRYPTO_VERSION
        Metadata header for storing information about the JetS3t version of encryption applied (to keep encryption compatibility between versions).
        See Also:
        Constant Field Values
      • METADATA_JETS3T_COMPRESSED

        public static final String METADATA_JETS3T_COMPRESSED
        Metadata header for storing information about data compression applied by jets3t tools.
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_LIST_CHUNK_SIZE

        public static final long DEFAULT_OBJECT_LIST_CHUNK_SIZE
        Default number of objects to include in each chunk of an object listing.
        See Also:
        Constant Field Values
      • REST_HEADER_PREFIX

        public static final String REST_HEADER_PREFIX
        Header prefix for general Amazon headers: x-amz-
        See Also:
        Constant Field Values
      • REST_METADATA_PREFIX

        public static final String REST_METADATA_PREFIX
        Header prefix for Amazon metadata headers: x-amz-meta-
        See Also:
        Constant Field Values
      • REST_METADATA_ALTERNATE_DATE

        public static final String REST_METADATA_ALTERNATE_DATE
        Header prefix for Amazon's alternative date header: x-amz-date
        See Also:
        Constant Field Values
      • XML_NAMESPACE

        public static final String XML_NAMESPACE
        XML namespace URL used when generating S3-compatible XML documents: http://s3.amazonaws.com/doc/2006-03-01/
        See Also:
        Constant Field Values
      • REQUESTER_PAYS_BUCKET_FLAG

        public static final String REQUESTER_PAYS_BUCKET_FLAG
        A flag used to indicate that the sender is willing to accept any Requester Pays bucket fees imposed by the request. This flag may be used in request Headers, or as a parameter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Constants

        public Constants()