public abstract class AmazonS3File extends Bean
Modifier and Type | Field and Description |
---|---|
protected AmazonS3FileSystem |
amazonS3FileSystem |
protected String |
bucketName |
protected String |
path |
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
AmazonS3File() |
AmazonS3File(AmazonS3FileSystem amazonS3FileSystem) |
addExceptionProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
protected AmazonS3FileSystem amazonS3FileSystem
protected String bucketName
protected String path
public AmazonS3File()
public AmazonS3File(AmazonS3FileSystem amazonS3FileSystem)
protected void assertValid()
public String getName()
public AmazonS3File setName(String name)
public String getUrlPath()
public long getFileSize()
public String getContentType()
public FileType getFileType()
public boolean isLocal()
public AWSCredentialsProvider getCredentialsProvider()
public AmazonS3File setCredentialsProvider(AWSCredentialsProvider credentialsProvider)
public AmazonS3File setProfileCredentialsProvider()
public AWSCredentials getCredentials()
public AmazonS3File setCredentials(AWSCredentials credentials)
public AmazonS3File setBasicAWSCredentials(String accessKey, String secretKey)
public AmazonS3FileSystem getAmazonS3FileSystem()
public AmazonS3File setAmazonS3FileSystem(AmazonS3FileSystem amazonS3FileSystem)
public boolean isDebug()
public AmazonS3File setDebug(boolean debug)
public String getBucketName()
public AmazonS3File setBucketName(String bucketName)
public String getPath()
public AmazonS3File setPath(String path)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public AmazonS3File fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean
public AmazonS3File fromXmlElement(Element element)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.