Package com.rackspacecloud.client.cloudfiles

Examples of com.rackspacecloud.client.cloudfiles.FilesContainerInfo


        String name = components[i];
        int slashLocation = name.indexOf('/');
        if (slashLocation == -1) {
          // assume it's a container
          try {
            FilesContainerInfo containerInfo = client.getContainerInfo(name);
            System.out.println("Information for " + name);
            System.out.println("  Object Count: " + containerInfo.getObjectCount());
            System.out.println("    Total Size: " + format.format(containerInfo.getTotalSize()) + " bytes");
            System.out.println();
          } catch (Exception e) {
            System.err.println("Error getting container info");
            e.printStackTrace();
            return true;
View Full Code Here

TOP

Related Classes of com.rackspacecloud.client.cloudfiles.FilesContainerInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.