public class Categories extends ListProperty<String>
Defines a list of keywords that describe the component to which it belongs.
Code sample:
VEvent event = new VEvent(); Categories categories = new Categories("conference", "meeting"); event.addCategories(categories);
parameters
Constructor and Description |
---|
Categories()
Creates a new categories property.
|
Categories(List<String> categories)
Creates a new categories property.
|
Categories(String... categories)
Creates a new categories property.
|
Modifier and Type | Method and Description |
---|---|
String |
getLanguage()
Gets the language that the property value is written in.
|
void |
setLanguage(String language)
Sets the language that the property value is written in.
|
addValue, getValues, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public Categories()
public Categories(String... categories)
categories
- the categories to initialize the property withpublic Categories(List<String> categories)
categories
- the categories to initialize the property withpublic String getLanguage()
ICalProperty
public void setLanguage(String language)
ICalProperty
language
- the language (e.g. "en" for English) or null to removeCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.