|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jets3t.samples.SamplesUtils
public class SamplesUtils
Utilities used by all Sample code, collected in one place for convenience.
Field Summary | |
---|---|
static java.lang.String |
AWS_ACCESS_KEY_PROPERTY_NAME
|
static java.lang.String |
AWS_SECRET_KEY_PROPERTY_NAME
|
static java.lang.String |
SAMPLES_PROPERTIES_NAME
|
Constructor Summary | |
---|---|
SamplesUtils()
|
Method Summary | |
---|---|
static AWSCredentials |
loadAWSCredentials()
Loads AWS Credentials from the file samples.properties ( SAMPLES_PROPERTIES_NAME ) that must be available in the
classpath, and must contain settings awsAccessKey and
awsSecretKey. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SAMPLES_PROPERTIES_NAME
public static final java.lang.String AWS_ACCESS_KEY_PROPERTY_NAME
public static final java.lang.String AWS_SECRET_KEY_PROPERTY_NAME
Constructor Detail |
---|
public SamplesUtils()
Method Detail |
---|
public static AWSCredentials loadAWSCredentials() throws java.io.IOException
SAMPLES_PROPERTIES_NAME
) that must be available in the
classpath, and must contain settings awsAccessKey and
awsSecretKey.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |