public class JcloudsStoreObjectAccessor extends java.lang.Object implements PersistenceObjectStore.StoreObjectAccessor
Constructor and Description |
---|
JcloudsStoreObjectAccessor(org.jclouds.blobstore.BlobStore blobStore,
java.lang.String containerName,
java.lang.String blobNameOptionallyWithPath) |
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.String val) |
void |
delete() |
boolean |
exists() |
java.lang.String |
get()
gets the object, or null if not found
|
byte[] |
getBytes() |
java.util.Date |
getLastModifiedDate()
last modified date, null if not supported or does not exist
|
void |
put(java.lang.String val) |
public JcloudsStoreObjectAccessor(org.jclouds.blobstore.BlobStore blobStore, java.lang.String containerName, java.lang.String blobNameOptionallyWithPath)
public boolean exists()
exists
in interface PersistenceObjectStore.StoreObjectAccessor
public void put(java.lang.String val)
put
in interface PersistenceObjectStore.StoreObjectAccessor
public void append(java.lang.String val)
append
in interface PersistenceObjectStore.StoreObjectAccessor
public void delete()
delete
in interface PersistenceObjectStore.StoreObjectAccessor
public java.lang.String get()
PersistenceObjectStore.StoreObjectAccessor
get
in interface PersistenceObjectStore.StoreObjectAccessor
public byte[] getBytes()
getBytes
in interface PersistenceObjectStore.StoreObjectAccessor
public java.util.Date getLastModifiedDate()
PersistenceObjectStore.StoreObjectAccessor
getLastModifiedDate
in interface PersistenceObjectStore.StoreObjectAccessor