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 Details

    • IPF

      public IPF()
  • Method Details

    • isAppointment

      public static boolean isAppointment​(Folder folder)
      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

      public static boolean isContact​(Folder folder)
      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

      public static boolean isJournal​(Folder folder)
      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

      public static boolean isKnownClass​(Folder folder)
      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

      public static boolean isNote​(Folder folder)
      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

      public static boolean isStickyNote​(Folder folder)
      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

      public static boolean isTask​(Folder folder)
      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

      public static Iterator<String> iterator()
      Get an iterator through the known classes.
      Returns:
      An iterator which may be used to step through the known folder classes.