public final class Label extends Property implements net.fortuna.ical4j.model.Escapable
Modifier and Type | Class and Description |
---|---|
static class |
Label.Factory |
Property.Id
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Label(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Label(java.lang.String value,
Type... types) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public Label(java.lang.String value, Type... types)
value
- a string representation of a label valuetypes
- optional property typespublic Label(java.util.List<Parameter> params, java.lang.String value)
params
- property parametersvalue
- string representation of a property value