public class PSTFolder extends PSTObject
children, data, descriptorIndexNode, items, localDescriptorItems, NID_TYPE_ASSOC_CONTENTS_TABLE, NID_TYPE_ASSOC_MESSAGE, NID_TYPE_ATTACHMENT, NID_TYPE_ATTACHMENT_TABLE, NID_TYPE_CONTENTS_TABLE, NID_TYPE_CONTENTS_TABLE_INDEX, NID_TYPE_HID, NID_TYPE_HIERARCHY_TABLE, NID_TYPE_INTERNAL, NID_TYPE_LTP, NID_TYPE_NORMAL_FOLDER, NID_TYPE_NORMAL_MESSAGE, NID_TYPE_OUTGOING_QUEUE_TABLE, NID_TYPE_RECEIVE_FOLDER_TABLE, NID_TYPE_RECIPIENT_TABLE, NID_TYPE_SEARCH_CONTENTS_TABLE, NID_TYPE_SEARCH_CRITERIA_OBJECT, NID_TYPE_SEARCH_FOLDER, NID_TYPE_SEARCH_TABLE_INDEX, NID_TYPE_SEARCH_UPDATE_QUEUE, pstFile, table
Modifier and Type | Method and Description |
---|---|
int |
getAssociateContentCount() |
LinkedList<Integer> |
getChildDescriptorNodes() |
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.
|
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
|
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.
|
apptTimeToCalendar, apptTimeToUTC, convertBigEndianBytesToLong, convertLittleEndianBytesToLong, convertLittleEndianBytesToLong, decode, detectAndLoadPSTObject, encode, filetimeToDate, getAddrType, getBinaryItem, getBooleanItem, getBooleanItem, getComment, getCreationTime, getDateItem, getDescriptorNode, getDescriptorNodeId, getDisplayName, getDoubleItem, getDoubleItem, getEmailAddress, getIntItem, getIntItem, getItemsString, getLastModificationTime, getLongItem, getLongItem, getMessageClass, getNodeType, getNodeType, getStringItem, getStringItem, getStringItem, getTimeZoneItem, printFormattedNumber, printFormattedNumber, printHexFormatted, printHexFormatted, toString
public Vector<PSTFolder> getSubFolders() throws PSTException, IOException
PSTException
IOException
public Vector<PSTObject> getChildren(int numberToReturn) throws PSTException, IOException
numberToReturn
- PSTException
IOException
public LinkedList<Integer> getChildDescriptorNodes() throws PSTException, IOException
PSTException
IOException
public PSTObject getNextChild() throws PSTException, IOException
PSTException
IOException
public void moveChildCursorTo(int newIndex) throws IOException, PSTException
newIndex
- IOException
PSTException
public int getSubFolderCount() throws IOException, PSTException
IOException
PSTException
public int getFolderType()
IOException
PSTException
- public int getEmailCount()
throws IOException, PSTException
{
this.initEmailsTable();
return this.emailsTable.getRowCount();
}public int getContentCount()
public int getUnreadCount()
public boolean hasSubfolders()
public String getContainerClass()
public int getAssociateContentCount()
public int getContainerFlags()
Copyright © 2023. All rights reserved.