|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.File
org.exoplatform.services.jcr.aws.storage.value.s3.S3File
public class S3File
An abstract representation of file on Amazon S3.
| Field Summary | |
|---|---|
protected java.lang.String |
awsAccessKey
AWS Access Key. |
protected java.lang.String |
awsSecretAccessKey
AWS Secret Access Key. |
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
S3File(java.lang.String bucket,
java.lang.String awsAccessKey,
java.lang.String awsSecretAccessKey,
java.lang.String key)
S3File constructor. |
|
| Method Summary | |
|---|---|
boolean |
delete()
|
boolean |
exists()
|
boolean |
isDirectory()
|
| Methods inherited from class java.io.File |
|---|
canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, deleteOnExit, equals, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String awsAccessKey
protected final java.lang.String awsSecretAccessKey
| Constructor Detail |
|---|
public S3File(java.lang.String bucket,
java.lang.String awsAccessKey,
java.lang.String awsSecretAccessKey,
java.lang.String key)
bucket - bucket nameawsAccessKey - access keyawsSecretAccessKey - secret keykey - object key| Method Detail |
|---|
public boolean delete()
delete in class java.io.Filepublic boolean isDirectory()
isDirectory in class java.io.Filepublic boolean exists()
exists in class java.io.File
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||