com.rackspacecloud.client.cloudfiles
Class FilesContainerInfo

java.lang.Object
  extended by com.rackspacecloud.client.cloudfiles.FilesContainerInfo
Direct Known Subclasses:
FilesContainerInfoExt

public class FilesContainerInfo
extends java.lang.Object

Contains basic information about the container


Field Summary
protected  java.lang.String name
           
protected  int objectCount
           
protected  long totalSize
           
 
Constructor Summary
FilesContainerInfo(java.lang.String name, int containerCount, long totalSize)
           
 
Method Summary
 java.lang.String getName()
           
 int getObjectCount()
          Returns the number of objects in the container
 long getTotalSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectCount

protected int objectCount

totalSize

protected long totalSize

name

protected java.lang.String name
Constructor Detail

FilesContainerInfo

public FilesContainerInfo(java.lang.String name,
                          int containerCount,
                          long totalSize)
Parameters:
containerCount - The number of objects in the container
totalSize - The total size of the container (in bytes)
Method Detail

getName

public java.lang.String getName()
Returns:
the name

getObjectCount

public int getObjectCount()
Returns the number of objects in the container

Returns:
The number of objects

getTotalSize

public long getTotalSize()
Returns:
The total size of the objects in the container (in bytes)