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 StringAMZ_DELETE_MARKERstatic StringAMZ_MULTI_FACTOR_AUTH_CODEstatic StringAMZ_REQUEST_ID_1static StringAMZ_REQUEST_ID_2static StringAMZ_SECURITY_TOKENstatic StringAMZ_VERSION_IDstatic StringCOCKPIT_PROPERTIES_FILENAMEThe file containing local Cockpit preferences.static StringDEFAULT_ENCODINGThe default encoding used for text data: UTF-8static longDEFAULT_OBJECT_LIST_CHUNK_SIZEDefault number of objects to include in each chunk of an object listing.static FileDEFAULT_PREFERENCES_DIRECTORYThe default preferences directory: <user.home>/.jets3tstatic StringDEVPAY_PRODUCT_NAME_PROP_SUFFIXThe property name suffix for the names of productsstatic StringDEVPAY_PRODUCT_TOKEN_PROP_SUFFIXThe property name suffix for the tokens of productsstatic StringDEVPAY_PRODUCTS_PROPERTIES_FILENAMEThe file containing the list of AWS DevPay Productsstatic StringFILE_PATH_DELIMThe file delimiter used by JetS3t is the '/' character, which is compatible with standard browser access to S3 files.static StringGS_DEFAULT_HOSTNAMEstatic StringHMAC_SHA1_ALGORITHMHMAC/SHA1 Algorithm per RFC 2104, used when generating S3 signatures.static StringJETS3T_IGNORE_FILENAMEThe name of the JetS3t ignore file: .jets3t-ignorestatic StringJETS3T_PROPERTIES_FILENAMEThe name of the JetS3t properties file: jets3t.propertiesstatic StringJETS3T_VERSIONThe JetS3t suite version number implemented by this service.static StringMETADATA_JETS3T_COMPRESSEDMetadata header for storing information about data compression applied by jets3t tools.static StringMETADATA_JETS3T_CRYPTO_ALGORITHMMetadata header for storing information about the data encryption algorithm applied by JetS3t tools.static StringMETADATA_JETS3T_CRYPTO_VERSIONMetadata header for storing information about the JetS3t version of encryption applied (to keep encryption compatibility between versions).static StringMETADATA_JETS3T_LOCAL_FILE_DATEMetadata 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 StringREQUESTER_PAYS_BUCKET_FLAGA flag used to indicate that the sender is willing to accept any Requester Pays bucket fees imposed by the request.static StringREST_HEADER_PREFIXHeader prefix for general Amazon headers: x-amz-static StringREST_METADATA_ALTERNATE_DATEHeader prefix for Amazon's alternative date header: x-amz-datestatic StringREST_METADATA_PREFIXHeader prefix for Amazon metadata headers: x-amz-meta-static StringS3_DEFAULT_HOSTNAMEstatic StringXML_NAMESPACEXML 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
-
-