Package io.github.jmcleodfoss.pst
Class IPF
java.lang.Object
io.github.jmcleodfoss.pst.IPF
public class IPF extends Object
The IPF holds the list of IPF folder types.
-
Constructor Summary
Constructors Constructor Description IPF()
-
Method Summary
Modifier and Type Method Description static boolean
isAppointment(Folder folder)
Is the given folder a list of appointments?static boolean
isContact(Folder folder)
Is the given folder a list of contacts?static boolean
isJournal(Folder folder)
Is the given folder a list of journal entries?static boolean
isKnownClass(Folder folder)
Is the class of the given folder one of the known classes?static boolean
isNote(Folder folder)
Is the given folder a list of notes?static boolean
isStickyNote(Folder folder)
Is the given folder a list of sticky notes?static boolean
isTask(Folder folder)
Is the given folder a list of tasks?static Iterator<String>
iterator()
Get an iterator through the known classes.
-
Constructor Details
-
IPF
public IPF()
-
-
Method Details
-
isAppointment
Is the given folder a list of appointments?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is IPF.Appointment.
-
isContact
Is the given folder a list of contacts?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is IPF.Contact.
-
isJournal
Is the given folder a list of journal entries?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is IPF.Journal.
-
isKnownClass
Is the class of the given folder one of the known classes?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is one of the known classes, false otherwise.
-
isNote
Is the given folder a list of notes?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is IPF.Note.
-
isStickyNote
Is the given folder a list of sticky notes?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is IPF.StickyNote.
-
isTask
Is the given folder a list of tasks?- Parameters:
folder
- The folder to check.- Returns:
- true if the given folder's class is IPF.Task.
-
iterator
Get an iterator through the known classes.- Returns:
- An iterator which may be used to step through the known folder classes.
-