Package org.jets3t.service
Class Constants
- java.lang.Object
-
- org.jets3t.service.Constants
-
public class Constants extends Object
Constants used by the S3Service and its implementation classes.- Author:
- James Murty, Nikolas Coukouma
-
-
Field Summary
Fields Modifier and Type Field Description static String
AMZ_DELETE_MARKER
static String
AMZ_MULTI_FACTOR_AUTH_CODE
static String
AMZ_REQUEST_ID_1
static String
AMZ_REQUEST_ID_2
static String
AMZ_SECURITY_TOKEN
static String
AMZ_VERSION_ID
static String
COCKPIT_PROPERTIES_FILENAME
The file containing local Cockpit preferences.static String
DEFAULT_ENCODING
The default encoding used for text data: UTF-8static long
DEFAULT_OBJECT_LIST_CHUNK_SIZE
Default number of objects to include in each chunk of an object listing.static File
DEFAULT_PREFERENCES_DIRECTORY
The default preferences directory: <user.home>/.jets3tstatic String
DEVPAY_PRODUCT_NAME_PROP_SUFFIX
The property name suffix for the names of productsstatic String
DEVPAY_PRODUCT_TOKEN_PROP_SUFFIX
The property name suffix for the tokens of productsstatic String
DEVPAY_PRODUCTS_PROPERTIES_FILENAME
The file containing the list of AWS DevPay Productsstatic String
FILE_PATH_DELIM
The file delimiter used by JetS3t is the '/' character, which is compatible with standard browser access to S3 files.static String
GS_DEFAULT_HOSTNAME
static String
HMAC_SHA1_ALGORITHM
HMAC/SHA1 Algorithm per RFC 2104, used when generating S3 signatures.static String
JETS3T_IGNORE_FILENAME
The name of the JetS3t ignore file: .jets3t-ignorestatic String
JETS3T_PROPERTIES_FILENAME
The name of the JetS3t properties file: jets3t.propertiesstatic String
JETS3T_VERSION
The JetS3t suite version number implemented by this service.static String
METADATA_JETS3T_COMPRESSED
Metadata header for storing information about data compression applied by jets3t tools.static String
METADATA_JETS3T_CRYPTO_ALGORITHM
Metadata header for storing information about the data encryption algorithm applied by JetS3t tools.static String
METADATA_JETS3T_CRYPTO_VERSION
Metadata header for storing information about the JetS3t version of encryption applied (to keep encryption compatibility between versions).static 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.static 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.static String
REST_HEADER_PREFIX
Header prefix for general Amazon headers: x-amz-static String
REST_METADATA_ALTERNATE_DATE
Header prefix for Amazon's alternative date header: x-amz-datestatic String
REST_METADATA_PREFIX
Header prefix for Amazon metadata headers: x-amz-meta-static String
S3_DEFAULT_HOSTNAME
static String
XML_NAMESPACE
XML namespace URL used when generating S3-compatible XML documents: http://s3.amazonaws.com/doc/2006-03-01/
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
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
-
AMZ_REQUEST_ID_1
public static final String AMZ_REQUEST_ID_1
- See Also:
- Constant Field Values
-
AMZ_REQUEST_ID_2
public static final String AMZ_REQUEST_ID_2
- See Also:
- Constant Field Values
-
AMZ_SECURITY_TOKEN
public static final String AMZ_SECURITY_TOKEN
- See Also:
- Constant Field Values
-
AMZ_VERSION_ID
public static final String AMZ_VERSION_ID
- See Also:
- Constant Field Values
-
AMZ_DELETE_MARKER
public static final String AMZ_DELETE_MARKER
- See Also:
- Constant Field Values
-
AMZ_MULTI_FACTOR_AUTH_CODE
public static final String AMZ_MULTI_FACTOR_AUTH_CODE
- See Also:
- Constant Field Values
-
-