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
| Constructor | Description |
|---|---|
| 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
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| path | java.lang.String | Path 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:
| Parameter | Type | Description |
|---|---|---|
| stream | com.aspose.ms.System.IO.Stream | Source 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:
| Parameter | Type | Description |
|---|---|---|
| path | java.lang.String | Path to source file. |
| icsSaveOptions | AppointmentIcsSaveOptions | Additional 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:
| Parameter | Type | Description |
|---|---|---|
| stream | com.aspose.ms.System.IO.Stream | Source stream. |
| icsSaveOptions | AppointmentIcsSaveOptions | Additional 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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.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:
| 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 |
write(Appointment appointment)
public final void write(Appointment appointment)
Writes appointment in underlying stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| appointment | Appointment | Source appointment |