org.jclouds.atmos
Interface AtmosClient


public interface AtmosClient

Provides access to EMC Atmos Online Storage resources via their REST API.

Author:
Adrian Cole
See Also:
AtmosAsyncClient,

Method Summary
 URI createDirectory(String directoryName, PutOptions... options)
           
 URI createFile(String parent, AtmosObject object, PutOptions... options)
           
 void deletePath(String path)
           
 SystemMetadata getSystemMetadata(String path)
           
 UserMetadata getUserMetadata(String path)
           
 AtmosObject headFile(String path)
           
 boolean isPublic(String path)
           
 BoundedSet<? extends DirectoryEntry> listDirectories(ListOptions... options)
           
 BoundedSet<? extends DirectoryEntry> listDirectory(String directoryName, ListOptions... options)
           
 AtmosObject newObject()
          Creates a default implementation of AtmosObject
 boolean pathExists(String path)
           
 AtmosObject readFile(String path, GetOptions... options)
           
 void updateFile(String parent, AtmosObject object, PutOptions... options)
           
 

Method Detail

newObject

@Provides
AtmosObject newObject()
Creates a default implementation of AtmosObject


listDirectories

BoundedSet<? extends DirectoryEntry> listDirectories(ListOptions... options)

listDirectory

BoundedSet<? extends DirectoryEntry> listDirectory(String directoryName,
                                                   ListOptions... options)

createDirectory

URI createDirectory(String directoryName,
                    PutOptions... options)

createFile

URI createFile(String parent,
               AtmosObject object,
               PutOptions... options)

updateFile

void updateFile(String parent,
                AtmosObject object,
                PutOptions... options)

readFile

AtmosObject readFile(String path,
                     GetOptions... options)

headFile

AtmosObject headFile(String path)

getSystemMetadata

SystemMetadata getSystemMetadata(String path)

getUserMetadata

UserMetadata getUserMetadata(String path)

deletePath

void deletePath(String path)

pathExists

boolean pathExists(String path)

isPublic

boolean isPublic(String path)


Copyright © 2009-2012 jclouds. All Rights Reserved.