com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class CalendarReader



  • public class CalendarReader
    extends Object

    Allows read the calendar with multi events to the Appointment object from a file or stream.

    • Constructor Detail

      • CalendarReader

        public CalendarReader(String path)

        Initializes a new instance of CalendarReader with source file and default Appointment LoadOptions.

        Parameters:
        path - Path to source file.
      • CalendarReader

        public CalendarReader(String path,
                      AppointmentLoadOptions options)

        Initializes a new instance of CalendarReader with source file and Appointment LoadOptions.

        Parameters:
        path - Path to source file.
        options - Additional LoadOptions.
      • CalendarReader

        public CalendarReader(InputStream stream)
    • Method Detail

      • getCurrent

        public Appointment getCurrent()

        Current read event.

      • nextEvent

        public boolean nextEvent()

        Reads next Event from source and save it to the Current.

        Returns:
        True if success otherwise false.