org.jets3t.service
Class Constants

java.lang.Object
  extended by org.jets3t.service.Constants

public class Constants
extends java.lang.Object

Constants used by the S3Service and its implementation classes.

Author:
James Murty, Nikolas Coukouma

Field Summary
static java.lang.String AMZ_DELETE_MARKER
           
static java.lang.String AMZ_MULTI_FACTOR_AUTH_CODE
           
static java.lang.String AMZ_REQUEST_ID_1
           
static java.lang.String AMZ_REQUEST_ID_2
           
static java.lang.String AMZ_SECURITY_TOKEN
           
static java.lang.String AMZ_VERSION_ID
           
static java.lang.String COCKPIT_PROPERTIES_FILENAME
          The file containing local Cockpit preferences.
static java.lang.String DEFAULT_ENCODING
          The default encoding used for text data: UTF-8
static long DEFAULT_OBJECT_LIST_CHUNK_SIZE
          Default number of objects to include in each chunk of an object listing.
static java.io.File DEFAULT_PREFERENCES_DIRECTORY
          The default preferences directory: <user.home>/.jets3t
static java.lang.String DEVPAY_PRODUCT_NAME_PROP_SUFFIX
          The property name suffix for the names of products
static java.lang.String DEVPAY_PRODUCT_TOKEN_PROP_SUFFIX
          The property name suffix for the tokens of products
static java.lang.String DEVPAY_PRODUCTS_PROPERTIES_FILENAME
          The file containing the list of AWS DevPay Products
static java.lang.String FILE_PATH_DELIM
          The file delimiter used by JetS3t is the '/' character, which is compatible with standard browser access to S3 files.
static java.lang.String GS_DEFAULT_HOSTNAME
           
static java.lang.String HMAC_SHA1_ALGORITHM
          HMAC/SHA1 Algorithm per RFC 2104, used when generating S3 signatures.
static java.lang.String JETS3T_IGNORE_FILENAME
          The name of the JetS3t ignore file: .jets3t-ignore
static java.lang.String JETS3T_PROPERTIES_FILENAME
          The name of the JetS3t properties file: jets3t.properties
static java.lang.String JETS3T_VERSION
          The JetS3t suite version number implemented by this service.
static java.lang.String METADATA_JETS3T_COMPRESSED
          Metadata header for storing information about data compression applied by jets3t tools.
static java.lang.String METADATA_JETS3T_CRYPTO_ALGORITHM
          Metadata header for storing information about the data encryption algorithm applied by JetS3t tools.
static java.lang.String METADATA_JETS3T_CRYPTO_VERSION
          Metadata header for storing information about the JetS3t version of encryption applied (to keep encryption compatibility between versions).
static java.lang.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 java.lang.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 java.lang.String REST_HEADER_PREFIX
          Header prefix for general Amazon headers: x-amz-
static java.lang.String REST_METADATA_ALTERNATE_DATE
          Header prefix for Amazon's alternative date header: x-amz-date
static java.lang.String REST_METADATA_PREFIX
          Header prefix for Amazon metadata headers: x-amz-meta-
static java.lang.String S3_DEFAULT_HOSTNAME
           
static java.lang.String XML_NAMESPACE
          XML namespace URL used when generating S3-compatible XML documents: http://s3.amazonaws.com/doc/2006-03-01/
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JETS3T_VERSION

public static final java.lang.String JETS3T_VERSION
The JetS3t suite version number implemented by this service.

See Also:
Constant Field Values

S3_DEFAULT_HOSTNAME

public static java.lang.String S3_DEFAULT_HOSTNAME

GS_DEFAULT_HOSTNAME

public static java.lang.String GS_DEFAULT_HOSTNAME

JETS3T_PROPERTIES_FILENAME

public static java.lang.String JETS3T_PROPERTIES_FILENAME
The name of the JetS3t properties file: jets3t.properties


COCKPIT_PROPERTIES_FILENAME

public static java.lang.String COCKPIT_PROPERTIES_FILENAME
The file containing local Cockpit preferences.


DEVPAY_PRODUCTS_PROPERTIES_FILENAME

public static java.lang.String DEVPAY_PRODUCTS_PROPERTIES_FILENAME
The file containing the list of AWS DevPay Products


DEVPAY_PRODUCT_NAME_PROP_SUFFIX

public static java.lang.String DEVPAY_PRODUCT_NAME_PROP_SUFFIX
The property name suffix for the names of products


DEVPAY_PRODUCT_TOKEN_PROP_SUFFIX

public static java.lang.String DEVPAY_PRODUCT_TOKEN_PROP_SUFFIX
The property name suffix for the tokens of products


JETS3T_IGNORE_FILENAME

public static java.lang.String JETS3T_IGNORE_FILENAME
The name of the JetS3t ignore file: .jets3t-ignore


DEFAULT_PREFERENCES_DIRECTORY

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


FILE_PATH_DELIM

public static java.lang.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 java.lang.String DEFAULT_ENCODING
The default encoding used for text data: UTF-8


HMAC_SHA1_ALGORITHM

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String REST_HEADER_PREFIX
Header prefix for general Amazon headers: x-amz-

See Also:
Constant Field Values

REST_METADATA_PREFIX

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String AMZ_REQUEST_ID_1
See Also:
Constant Field Values

AMZ_REQUEST_ID_2

public static final java.lang.String AMZ_REQUEST_ID_2
See Also:
Constant Field Values

AMZ_SECURITY_TOKEN

public static final java.lang.String AMZ_SECURITY_TOKEN
See Also:
Constant Field Values

AMZ_VERSION_ID

public static final java.lang.String AMZ_VERSION_ID
See Also:
Constant Field Values

AMZ_DELETE_MARKER

public static final java.lang.String AMZ_DELETE_MARKER
See Also:
Constant Field Values

AMZ_MULTI_FACTOR_AUTH_CODE

public static final java.lang.String AMZ_MULTI_FACTOR_AUTH_CODE
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()