Class Sound
- java.lang.Object
- 
- net.fortuna.ical4j.model.Content
- 
- net.fortuna.ical4j.model.Property
- 
- net.fortuna.ical4j.vcard.GroupProperty
- 
- net.fortuna.ical4j.vcard.property.Sound
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Property>,- FluentProperty
 
 public class Sound extends GroupProperty SOUND property.$Id$ Created on 21/10/2008 - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSound.Factory
 - 
Field Summary- 
Fields inherited from class net.fortuna.ical4j.vcard.GroupPropertyILLEGAL_PARAMETER_MESSAGE
 - 
Fields inherited from class net.fortuna.ical4j.model.PropertyACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBinary()URIgetUri()StringgetValue()protected PropertyFactory<Sound>newFactory()voidsetValue(String value)ValidationResultvalidate()- 
Methods inherited from class net.fortuna.ical4j.vcard.GroupPropertyassertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getGroup, getId, getParameter, hashCode, toString
 - 
Methods inherited from class net.fortuna.ical4j.model.Propertyadd, compareTo, copy, getFluentTarget, getName, getParameter, getParameterList, getParameters, getRequiredParameter, remove, removeAll, replace, setParameters
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface net.fortuna.ical4j.model.FluentPropertywithParameter
 
- 
 
- 
- 
- 
Constructor Detail- 
Soundpublic Sound(URI uri) - Parameters:
- uri- a URI specifying a sound location
 
 - 
Soundpublic Sound(byte[] binary) - Parameters:
- binary- a byte array of sound data
 
 - 
Soundpublic Sound(byte[] binary, Type contentType)- Parameters:
- binary- a byte array of sound data
- contentType- the MIME type of the sound data
 
 - 
Soundpublic Sound(ParameterList params, String value) Factory constructor.- Parameters:
- params- property parameters
- value- string representation of a property value
- Throws:
- IllegalArgumentException- where the specified data string cannot be decoded
 
 
- 
 - 
Method Detail- 
getUripublic URI getUri() - Returns:
- the uri
 
 - 
getBinarypublic byte[] getBinary() - Returns:
- the binary
 
 - 
validatepublic ValidationResult validate() throws ValidationException - Specified by:
- validatein class- Property
- Throws:
- ValidationException
 
 - 
newFactoryprotected PropertyFactory<Sound> newFactory() - Specified by:
- newFactoryin class- Property
 
 
- 
 
-