Created: [Apr 6, 2004]
Defines an ATTACH iCalendar component property.
4.8.1.1 Attachment
Property Name: ATTACH
Purpose: The property provides the capability to associate a document
object with a calendar component.
Value Type: The default value type for this property is URI. The
value type can also be set to BINARY to indicate inline binary
encoded content information.
Property Parameters: Non-standard, inline encoding, format type and
value data type property parameters can be specified on this
property.
Conformance: The property can be specified in a "VEVENT", "VTODO",
"VJOURNAL" or "VALARM" calendar components.
Description: The property can be specified within "VEVENT", "VTODO",
"VJOURNAL", or "VALARM" calendar components. This property can be
specified multiple times within an iCalendar object.
DescriptivePropertyValidators#ATTACH_URI
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private static final long | |
| private URI |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Attach(final ParameterList
a list of parameters for this component aList, final String a value string for this component aValue)
|
| public | |
| public | Attach(final ParameterList
a list of parameters for this component aList, final byte[] binary data data)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final byte[] | |
| public final URI | |
| public final String | |
| protected PropertyFactory | newFactory()
Implements abstract net. Returns a new property factory used to create deep copies. |
| public final void | |
| public final void | |
| public final void | setValue(final String
a string encoded binary or URI value aValue)Implements abstract net. Sets the current value of the Attach instance. |
| public ValidationResult | validate()
Implements abstract net. Perform validation on a property. |
| binary | back to summary |
|---|---|
| private byte[] binary | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| uri | back to summary |
|---|---|
| private URI uri | |
| Attach | back to summary |
|---|---|
| public Attach() Default constructor. | |
| Attach | back to summary |
|---|---|
public Attach(final ParameterList aList, final String aValue)
| |
| Attach | back to summary |
|---|---|
public Attach(final byte[] data)
| |
| Attach | back to summary |
|---|---|
public Attach(final ParameterList aList, final byte[] data)
| |
| Attach | back to summary |
|---|---|
public Attach(final URI aUri)
| |
| Attach | back to summary |
|---|---|
public Attach(final ParameterList aList, final URI aUri)
| |
| getBinary | back to summary |
|---|---|
public final byte[] getBinary()
| |
| getUri | back to summary |
|---|---|
public final URI getUri()
| |
| getValue | back to summary |
|---|---|
| public final String getValue() Implements abstract net.
| |
| newFactory | back to summary |
|---|---|
| protected PropertyFactory Implements abstract net. Doc from net. Returns a new property factory used to create deep copies.
| |
| setBinary | back to summary |
|---|---|
public final void setBinary(final byte[] binary)
| |
| setUri | back to summary |
|---|---|
public final void setUri(final URI uri)
| |
| setValue | back to summary |
|---|---|
| public final void setValue(final String aValue) Implements abstract net. Sets the current value of the Attach instance. If the specified value is encoded binary data, the value is decoded and stored in the binary field. Otherwise the value is assumed to be a URI location to binary data and is stored as such. | |
| validate | back to summary |
|---|---|
| public ValidationResult validate() throws ValidationException Implements abstract net. Doc from net. Perform validation on a property.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Attach | createProperty(final ParameterList
a list of property parameters parameters, final String a property value value)Implements net.
|
| public Attach |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Factory | back to summary |
|---|---|
| public Factory() | |
| createProperty | back to summary |
|---|---|
| public Attach createProperty(final ParameterList parameters, final String value) Implements net.
| |
| createProperty | back to summary |
|---|---|
| public Attach createProperty() Implements net.
| |