org.jets3t.service
Class Constants

java.lang.Object
  extended byorg.jets3t.service.Constants

public class Constants
extends java.lang.Object

Constants used by the S3Service and its implementation classes.


Field Summary
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 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 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 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_ENCRYPTED_OBSOLETE
          Deprecated. Obsolete after version 0.4.0
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 METADATA_JETS3T_LOCAL_FILE_DATE_DEPRECATED
          Deprecated. 0.6.0
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_HOSTNAME
           
static java.lang.String SOAP_SERVICE_NAME
          SOAP service name: AmazonS3
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

S3_HOSTNAME

public static final java.lang.String S3_HOSTNAME

JETS3T_PROPERTIES_FILENAME

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

See Also:
Constant Field Values

JETS3T_IGNORE_FILENAME

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

See Also:
Constant Field Values

DEFAULT_PREFERENCES_DIRECTORY

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


FILE_PATH_DELIM

public static final 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.

See Also:
Constant Field Values

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
The default encoding used for text data: UTF-8

See Also:
Constant Field Values

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_DEPRECATED

public static final java.lang.String METADATA_JETS3T_LOCAL_FILE_DATE_DEPRECATED
Deprecated. 0.6.0

MISTYPED 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_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_ENCRYPTED_OBSOLETE

public static final java.lang.String METADATA_JETS3T_ENCRYPTED_OBSOLETE
Deprecated. Obsolete after version 0.4.0

Metadata header for storing information about data encryption applied by JetS3t tools.

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

SOAP_SERVICE_NAME

public static final java.lang.String SOAP_SERVICE_NAME
SOAP service name: AmazonS3

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()