|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pff.PSTObject
com.pff.PSTFolder
public class PSTFolder
Represents a folder in the PST File Allows you to access child folders or items. Items are accessed through a sort of cursor arrangement. This allows for incremental reading of a folder which may have _lots_ of emails.
Field Summary |
---|
Method Summary | |
---|---|
int |
getAssociateContentCount()
|
java.util.LinkedList<java.lang.Integer> |
getChildDescriptorNodes()
|
java.util.Vector<PSTObject> |
getChildren(int numberToReturn)
get some children from the folder This is implemented as a cursor of sorts, as there could be thousands and that is just too many to process at once. |
java.lang.String |
getContainerClass()
|
int |
getContainerFlags()
Container flags Integer 32-bit signed |
int |
getContentCount()
the number of emails in this folder this is as reported by the PST file, for a number calculated by the library use getEmailCount |
int |
getFolderType()
the number of emails in this folder this is the count of emails made by the library and will therefore should be more accurate than getContentCount |
PSTObject |
getNextChild()
Get the next child of this folder As there could be thousands of emails, we have these kind of cursor operations |
int |
getSubFolderCount()
the number of child folders in this folder |
java.util.Vector<PSTFolder> |
getSubFolders()
get all of the sub folders... |
int |
getUnreadCount()
Amount of unread content items Integer 32-bit signed |
boolean |
hasSubfolders()
does this folder have subfolders once again, read from the PST, use getSubFolderCount if you want to know what the library makes of it all |
void |
moveChildCursorTo(int newIndex)
move the internal folder cursor to the desired position position 0 is before the first record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.util.Vector<PSTFolder> getSubFolders() throws PSTException, java.io.IOException
PSTException
java.io.IOException
public java.util.Vector<PSTObject> getChildren(int numberToReturn) throws PSTException, java.io.IOException
numberToReturn
-
PSTException
java.io.IOException
public java.util.LinkedList<java.lang.Integer> getChildDescriptorNodes() throws PSTException, java.io.IOException
PSTException
java.io.IOException
public PSTObject getNextChild() throws PSTException, java.io.IOException
PSTException
java.io.IOException
public void moveChildCursorTo(int newIndex) throws java.io.IOException, PSTException
newIndex
-
java.io.IOException
PSTException
public int getSubFolderCount() throws java.io.IOException, PSTException
java.io.IOException
PSTException
public int getFolderType()
java.io.IOException
PSTException
- public int getEmailCount()
throws IOException, PSTException
{
this.initEmailsTable();
return this.emailsTable.getRowCount();
}public int getContentCount()
public int getUnreadCount()
public boolean hasSubfolders()
public java.lang.String getContainerClass()
public int getAssociateContentCount()
public int getContainerFlags()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |