CalendarReader

Inheritance: java.lang.Object

public class CalendarReader

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

Constructors

Constructor Description
CalendarReader(String path) Initializes a new instance of CalendarReader with source file and default Appointment LoadOptions.
CalendarReader(String path, AppointmentLoadOptions options) Initializes a new instance of CalendarReader with source file and Appointment LoadOptions.
CalendarReader(InputStream stream) Initializes a new instance of CalendarReader with source stream and default Appointment LoadOptions.
CalendarReader(InputStream stream, AppointmentLoadOptions options) Initializes a new instance of CalendarReader with source stream and Appointment LoadOptions.

Methods

Method Description
equals(Object arg0)
getClass()
getCurrent() Current read event.
hashCode()
nextEvent() Reads next Event from source and save it to the Current.
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CalendarReader(String path)

public CalendarReader(String path)

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

Parameters:

Parameter Type Description
path java.lang.String Path to source file.

CalendarReader(String path, AppointmentLoadOptions options)

public CalendarReader(String path, AppointmentLoadOptions options)

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

Parameters:

Parameter Type Description
path java.lang.String Path to source file.
options AppointmentLoadOptions Additional LoadOptions.

CalendarReader(InputStream stream)

public CalendarReader(InputStream stream)

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

Parameters:

Parameter Type Description
stream java.io.InputStream Source stream.

CalendarReader(InputStream stream, AppointmentLoadOptions options)

public CalendarReader(InputStream stream, AppointmentLoadOptions options)

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

Parameters:

Parameter Type Description
stream java.io.InputStream Source stream.
options AppointmentLoadOptions Additional LoadOptions.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrent()

public final Appointment getCurrent()

Current read event.

Returns: Appointment

hashCode()

public native int hashCode()

Returns: int

nextEvent()

public final boolean nextEvent()

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

Returns: boolean - True if success otherwise false.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int