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)

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

        Parameters:
        stream - Source stream.
      • CalendarReader

        public CalendarReader(InputStream stream,
                      AppointmentLoadOptions options)

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

        Parameters:
        stream - Source stream.
        options - Additional LoadOptions.
    • Method Detail

      • getCurrent

        public final Appointment getCurrent()

        Current read event.

      • nextEvent

        public final boolean nextEvent()

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

        Returns:
        True if success otherwise false.