Calendars.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: a content type stringa calendar instance calendar, Charset an optional encoding charset)
Deprecated
@see
Calendar#getContentType(Charset)
Returns an appropriate MIME Content-Type for the specified calendar object. |
| public static Uid | Returns: the UID propertya calendar instance calendar)
Deprecated
@see
Calendar#getUid()
Returns a unique identifier as specified by components in the provided calendar. |
| public static Calendar | |
| public static Calendar | |
| public static Calendar | |
| public static Calendar[] | Returns: an array of calendar objectsa calendar instance calendar)
Deprecated
@see
Calendar#split()
Splits a calendar object into distinct calendar objects for unique identifers (UID). |
| public static Calendar | Returns: a calendar containing the specified componentthe component to wrap with a calendar component)Wraps a component in a calendar. |
| public static Calendar |
| Calendars | back to summary |
|---|---|
| private Calendars() Constructor made private to enforce static nature. | |
| getContentType | back to summary |
|---|---|
| public static String getContentType(Calendar calendar, Charset charset)
Deprecated Returns an appropriate MIME Content-Type for the specified calendar object.
| |
| getUid | back to summary |
|---|---|
| public static Uid getUid(final Calendar calendar) throws ConstraintViolationException
Deprecated @see Returns a unique identifier as specified by components in the provided calendar.
| |
| load | back to summary |
|---|---|
| public static Calendar load(final String filename) throws IOException, ParserException Loads a calendar from the specified file.
| |
| load | back to summary |
|---|---|
| public static Calendar load(final URL url) throws IOException, ParserException Loads a calendar from the specified URL.
| |
| merge | back to summary |
|---|---|
| public static Calendar merge(Calendar... calendars) Merge all properties and components from multiple calendars into one instance. Note that the merge process is not very sophisticated, and may result in invalid calendar data (e.g. multiple properties of a type that should only be specified once). | |
| split | back to summary |
|---|---|
| public static Calendar[] split(final Calendar calendar)
Deprecated @see Splits a calendar object into distinct calendar objects for unique identifers (UID). | |
| wrap | back to summary |
|---|---|
| public static Calendar wrap(final CalendarComponent... component) Wraps a component in a calendar.
| |
| wrap | back to summary |
|---|---|
| public static Calendar wrap(PropertyList properties, final CalendarComponent... component) | |