public class DownloadInfo
extends java.lang.Object
ConsolidatorManager
,
PublicationSize
Modifier and Type | Method and Description |
---|---|
int |
getPubItemRecCount(java.lang.String pubItemName)
This will return the number of records of the Publication Item referred by pubItemName
that will be synced in the next synchronization.
|
long |
getPubItemSize(java.lang.String pubItemName)
This will return the size of a particular Publication Item referred by pubItemName.
|
int |
getPubRecCount(java.lang.String pubName)
This will return the number of all records of all the Publication Items that belong
to the Publication referred by pubName, that will be synced in the next synchronization.
|
long |
getPubSize(java.lang.String pubName)
This will return the size of all Publication Items that belong to the
Publication referred by pubName.
|
long |
getTotalSize()
This will return the size information of all PublicationSize objects.
|
java.util.Iterator |
iterator()
This will return an Iterator object so that the user can traverse through
all the PublicationSize objects that are contained inside the DownloadInfo object.
|
int |
size()
Returns the number of Publication Items in the set.
|
public int getPubItemRecCount(java.lang.String pubItemName)
pubItemName
- The name of the Publication Item.
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); int pubItemRecCount = dlInfo.getPubItemRecCount ("somePubItemName");
public long getPubItemSize(java.lang.String pubItemName)
pubItemName
- The name of the Publication Item.
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); long pubItemSize = dlInfo.getPubItemSize ("somePubItemName");
public int getPubRecCount(java.lang.String pubName)
pubName
- The name of the Publication.
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); int pubRecCount = dlInfo.getPubRecCount ("somePubName");
public long getPubSize(java.lang.String pubName)
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); long pubSize = dlInfo.getPubSize ("somePubName");
pubName
- The name of the Publication.public long getTotalSize()
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); long totalSize = dlInfo.getTotalSize ();
public java.util.Iterator iterator()
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); Iterator it = dlInfo.iterator ();
public int size()
Example:
ConsolidatorManager cm = new ConsolidatorManager(); DownloadInfo dlInfo = cm.getDownloadInfo ("S11U1", true, true); int size = dlInfo.size ();