Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- configurationChanged(Map<String, Object>) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- configurationChanged(Map<String, Object>) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- createResourceSavedEvent(Resource, String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Create a new
ResourceStorageService.EVENT_TOPIC_RESOURCE_SAVEDEventobject out of a resource and path. - createResourcesDeletedEvent(Iterable<String>) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Create a new
ResourceStorageService.EVENT_TOPIC_RESOURCES_DELETEDEventobject out of a set of paths.
D
- DEFAULT_MAXIMUM_KEYS_PER_REQUEST - Static variable in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
The default value for the
maximumKeysPerRequestproperty. - DEFAULT_REGION_NAME - Static variable in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
The default value for the
regionNameproperty. - deleteObjects(Iterable<String>) - Method in interface net.solarnetwork.common.s3.S3Client
-
Delete a set of keys from S3.
- deleteObjects(Iterable<String>) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- deleteResources(Iterable<String>) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
E
- equals(Object) - Method in class net.solarnetwork.common.s3.S3ClientResource
-
Compare for equality.
- equals(Object) - Method in class net.solarnetwork.common.s3.S3ObjectRef
-
Test for equality.
G
- getContentType() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- getDescription() - Method in class net.solarnetwork.common.s3.S3ClientResource
- getDisplayName() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- getDisplayName() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- getEventAdmin() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Get the optional
EventAdminservice. - getExecutor() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Get the executor that handles asynchronous operations.
- getGroupUid() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- getGroupUID() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Deprecated.
- getInputStream() - Method in class net.solarnetwork.common.s3.S3ClientResource
- getInputStream() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- getKey() - Method in class net.solarnetwork.common.s3.S3ObjectRef
- getKey() - Method in interface net.solarnetwork.common.s3.S3ObjectReference
-
Get the object key.
- getMetadata() - Method in interface net.solarnetwork.common.s3.S3Object
-
Get the metadata associated with this object.
- getMetadata() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- getModified() - Method in class net.solarnetwork.common.s3.S3ObjectRef
- getModified() - Method in interface net.solarnetwork.common.s3.S3ObjectReference
-
Get the modification date.
- getModified() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- getObject(String, ProgressListener<P>, P) - Method in interface net.solarnetwork.common.s3.S3Client
-
Get a S3 object.
- getObject(String, ProgressListener<P>, P) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- getObjectAsString(String) - Method in interface net.solarnetwork.common.s3.S3Client
-
Get the contents of a S3 object as a string.
- getObjectAsString(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- getObjectKeyPrefix() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Get the S3 object key prefix.
- getObjectReference() - Method in class net.solarnetwork.common.s3.S3ClientResource
-
Get the object reference.
- getObjectURL(String) - Method in interface net.solarnetwork.common.s3.S3Client
-
Get a URL for a S3 object.
- getObjectURL(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- getS3Client() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Get the S3 client.
- getSettingSpecifiers() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- getSettingSpecifiers() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- getSize() - Method in class net.solarnetwork.common.s3.S3ObjectMeta
- getSize() - Method in interface net.solarnetwork.common.s3.S3ObjectMetadata
-
Get the object's content size.
- getSize() - Method in class net.solarnetwork.common.s3.S3ObjectRef
- getSize() - Method in interface net.solarnetwork.common.s3.S3ObjectReference
-
Get the object size.
- getSize() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- getStorageClass() - Method in class net.solarnetwork.common.s3.S3ObjectMeta
- getStorageClass() - Method in interface net.solarnetwork.common.s3.S3ObjectMetadata
-
Get the object storage class key to use.
- getStorageClass() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- getUid() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- getUID() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Deprecated.since 2.0 use
S3ResourceStorageService.getUid() - getURL() - Method in class net.solarnetwork.common.s3.S3ClientResource
- getURL() - Method in interface net.solarnetwork.common.s3.S3Object
-
Get a URL for this object.
- getURL() - Method in class net.solarnetwork.common.s3.S3ObjectRef
- getURL() - Method in interface net.solarnetwork.common.s3.S3ObjectReference
-
Get a URL for this object reference.
- getURL() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
H
- hashCode() - Method in class net.solarnetwork.common.s3.S3ClientResource
-
Compute a hash code.
- hashCode() - Method in class net.solarnetwork.common.s3.S3ObjectRef
I
- isConfigured() - Method in interface net.solarnetwork.common.s3.S3Client
-
Test if the client is fully configured.
- isConfigured() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- isConfigured() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- isCustomKey(String) - Method in interface net.solarnetwork.common.s3.S3ObjectMetadata
L
- listObjects(String) - Method in interface net.solarnetwork.common.s3.S3Client
-
List all available objects matching a prefix.
- listObjects(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
- listResources(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
N
- net.solarnetwork.common.s3 - package net.solarnetwork.common.s3
- net.solarnetwork.common.s3.sdk - package net.solarnetwork.common.s3.sdk
P
- populateMap(Map<String, Object>) - Method in class net.solarnetwork.common.s3.S3ObjectMeta
- populateMap(Map<String, Object>) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Object
- postEvent(Event) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Post an
Event. - postResourceSavedEvent(Resource, String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Post an
Eventfor theResourceStorageService.EVENT_TOPIC_RESOURCE_SAVEDtopic. - postResourcesDeletedEvent(Iterable<String>) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Post an
Eventfor theResourceStorageService.EVENT_TOPIC_RESOURCES_DELETEDtopic. - progressChanged(ProgressEvent) - Method in class net.solarnetwork.common.s3.sdk.SdkTransferProgressListenerAdapter
- putObject(String, InputStream, S3ObjectMetadata, ProgressListener<P>, P) - Method in interface net.solarnetwork.common.s3.S3Client
-
Put an object onto S3.
- putObject(String, InputStream, S3ObjectMetadata, ProgressListener<P>, P) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
R
- resourceStorageUrl(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
S
- S3Client - Interface in net.solarnetwork.common.s3
-
API for accessing S3.
- S3ClientResource - Class in net.solarnetwork.common.s3
-
Resource implementation for a remote S3 object using the
S3ClientAPI. - S3ClientResource(S3Client, S3ObjectReference) - Constructor for class net.solarnetwork.common.s3.S3ClientResource
-
Constructor.
- S3Object - Interface in net.solarnetwork.common.s3
-
API for an object in S3.
- S3ObjectMeta - Class in net.solarnetwork.common.s3
-
Immutable implementation of
S3ObjectMetadata. - S3ObjectMeta(long, Date) - Constructor for class net.solarnetwork.common.s3.S3ObjectMeta
-
Constructor.
- S3ObjectMeta(long, Date, String, MimeType, Map<String, ?>) - Constructor for class net.solarnetwork.common.s3.S3ObjectMeta
-
Constructor.
- S3ObjectMeta(long, Date, MimeType) - Constructor for class net.solarnetwork.common.s3.S3ObjectMeta
-
Constructor.
- S3ObjectMeta(long, Date, MimeType, Map<String, ?>) - Constructor for class net.solarnetwork.common.s3.S3ObjectMeta
-
Constructor.
- S3ObjectMetadata - Interface in net.solarnetwork.common.s3
-
Metadata related to an S3 object.
- S3ObjectRef - Class in net.solarnetwork.common.s3
-
An immutable reference to an S3 object.
- S3ObjectRef(String) - Constructor for class net.solarnetwork.common.s3.S3ObjectRef
-
Constructor.
- S3ObjectRef(String, long, Date, URL) - Constructor for class net.solarnetwork.common.s3.S3ObjectRef
-
Constructor.
- S3ObjectReference - Interface in net.solarnetwork.common.s3
-
API for information about an S3 object.
- S3ResourceStorageService - Class in net.solarnetwork.common.s3
-
AWS S3 based implementation of
ResourceStorageServiceusing theS3ClientAPI. - S3ResourceStorageService(String, Executor) - Constructor for class net.solarnetwork.common.s3.S3ResourceStorageService
-
Constructor.
- S3ResourceStorageService(Executor) - Constructor for class net.solarnetwork.common.s3.S3ResourceStorageService
-
Constructor.
- saveResource(String, Resource, boolean, ProgressListener<Resource>) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
- SdkS3Client - Class in net.solarnetwork.common.s3.sdk
-
S3Clientusing the AWS SDK. - SdkS3Client() - Constructor for class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Default constructor.
- SdkS3Client(String) - Constructor for class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Constructor.
- SdkS3Object - Class in net.solarnetwork.common.s3.sdk
-
AWS SDK implementation of
S3Object. - SdkS3Object(S3Object, URL) - Constructor for class net.solarnetwork.common.s3.sdk.SdkS3Object
-
Constructor.
- SdkTransferProgressListenerAdapter<T> - Class in net.solarnetwork.common.s3.sdk
-
Adapts
ProgressListenerto the AWS SDKProgressListener. - SdkTransferProgressListenerAdapter(ProgressListener<T>, T, boolean) - Constructor for class net.solarnetwork.common.s3.sdk.SdkTransferProgressListenerAdapter
-
Constructor.
- setAccessSecret(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Set the AWS access token secret to use.
- setAccessToken(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Set the AWS access token to use.
- setBucketName(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Set the bucket name to connect to.
- setCredentialsProvider(AWSCredentialsProvider) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Set the credentials provider to authenticate with.
- setEventAdmin(OptionalService<EventAdmin>) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Set the optional
EventAdminservice. - setExecutor(Executor) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Set the executor that handles asynchronous operations.
- setGroupUid(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Set the group UID.
- setGroupUID(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Deprecated.since 2.0 use
S3ResourceStorageService.setGroupUid(String) - setMaximumKeysPerRequest(int) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Set the maximum number of S3 object keys to request in one request.
- setObjectKeyPrefix(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Set a S3 object key prefix to use.
- setRegionName(String) - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
-
Set the AWS region to use.
- setS3Client(S3Client) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Set the S3 client.
- setUid(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Set the UID.
- setUID(String) - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Deprecated.since 2.0 use
S3ResourceStorageService.setUid(String) - SIZE_KEY - Static variable in interface net.solarnetwork.common.s3.S3ObjectMetadata
-
The metadata map key for the
S3ObjectMetadata.getSize()value. - startup() - Method in class net.solarnetwork.common.s3.S3ResourceStorageService
-
Call after properties are configured.
- STORAGE_CLASS_KEY - Static variable in interface net.solarnetwork.common.s3.S3ObjectMetadata
-
The metadata map key for the
S3ObjectMetadata.getStorageClass()value.
T
- toString() - Method in class net.solarnetwork.common.s3.S3ObjectRef
- toString() - Method in class net.solarnetwork.common.s3.sdk.SdkS3Client
All Classes and Interfaces|All Packages|Constant Field Values
S3ResourceStorageService.getGroupUid()