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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
pathjava.lang.StringPath 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:

ParameterTypeDescription
pathjava.lang.StringPath to source file.
optionsAppointmentLoadOptionsAdditional LoadOptions.

CalendarReader(InputStream stream)

public CalendarReader(InputStream stream)

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

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamSource 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:

ParameterTypeDescription
streamjava.io.InputStreamSource stream.
optionsAppointmentLoadOptionsAdditional LoadOptions.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int