CalendarWriter

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public class CalendarWriter implements System.IDisposable, Closeable

Allows write the set of Events in one ics file or stream.

Constructors

ConstructorDescription
CalendarWriter(String path)Initializes a new instance of CalendarReader with source file and default AppointmentIcsSaveOptions.
CalendarWriter(System.IO.Stream stream)Initializes a new instance of CalendarReader with source stream and default AppointmentIcsSaveOptions.
CalendarWriter(String path, AppointmentIcsSaveOptions icsSaveOptions)Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.
CalendarWriter(System.IO.Stream stream, AppointmentIcsSaveOptions icsSaveOptions)Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.

Methods

MethodDescription
close()
dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
write(Appointment appointment)Writes appointment in underlying stream.

CalendarWriter(String path)

public CalendarWriter(String path)

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

Parameters:

ParameterTypeDescription
pathjava.lang.StringPath to source file.

CalendarWriter(System.IO.Stream stream)

public CalendarWriter(System.IO.Stream stream)

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

Parameters:

ParameterTypeDescription
streamcom.aspose.ms.System.IO.StreamSource stream.

CalendarWriter(String path, AppointmentIcsSaveOptions icsSaveOptions)

public CalendarWriter(String path, AppointmentIcsSaveOptions icsSaveOptions)

Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.

Parameters:

ParameterTypeDescription
pathjava.lang.StringPath to source file.
icsSaveOptionsAppointmentIcsSaveOptionsAdditional AppointmentIcsSaveOptions.

CalendarWriter(System.IO.Stream stream, AppointmentIcsSaveOptions icsSaveOptions)

public CalendarWriter(System.IO.Stream stream, AppointmentIcsSaveOptions icsSaveOptions)

Initializes a new instance of CalendarReader with source file and additional AppointmentIcsSaveOptions.

Parameters:

ParameterTypeDescription
streamcom.aspose.ms.System.IO.StreamSource stream.
icsSaveOptionsAppointmentIcsSaveOptionsAdditional AppointmentIcsSaveOptions.

close()

public void close()

dispose()

public final void dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

hashCode()

public native int hashCode()

Returns: int

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

write(Appointment appointment)

public final void write(Appointment appointment)

Writes appointment in underlying stream.

Parameters:

ParameterTypeDescription
appointmentAppointmentSource appointment