|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
biweekly.property.Contact
public class Contact
Defines contact information for a person or other entity (for example, the name of a business and its phone number).
Examples:
Contact contact = new Contact("Acme Co: (212) 555-1234");
Field Summary |
---|
Fields inherited from class biweekly.property.ValuedProperty |
---|
value |
Fields inherited from class biweekly.property.ICalProperty |
---|
parameters |
Constructor Summary | |
---|---|
Contact(String contact)
Creates a contact property. |
Method Summary | |
---|---|
String |
getAltRepresentation()
Gets a URI pointing to additional information about the entity represented by the property. |
String |
getLanguage()
Gets the language that the property value is written in. |
void |
setAltRepresentation(String uri)
Sets a URI pointing to additional information about the entity represented by the property. |
void |
setLanguage(String language)
Sets the language that the property value is written in. |
Methods inherited from class biweekly.property.ValuedProperty |
---|
getValue, setValue, validate |
Methods inherited from class biweekly.property.ICalProperty |
---|
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Contact(String contact)
contact
- the contact information (e.g. "Acme Co: (212) 555-1234")Method Detail |
---|
public String getAltRepresentation()
ICalProperty
public void setAltRepresentation(String uri)
ICalProperty
uri
- the URI (such as a URL to a vCard) or null to removepublic String getLanguage()
ICalProperty
public void setLanguage(String language)
ICalProperty
language
- the language (e.g. "en" for English) or null to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |