Package | Description |
---|---|
ezvcard.io.scribe |
Contains classes that know how to marshal and unmarshal a property in each vCard format.
|
ezvcard.parameter |
Contains classes related to vCard parameters.
|
ezvcard.property |
Contains the DTO class for each property.
|
Modifier and Type | Method and Description |
---|---|
protected SoundType |
SoundScribe._mediaTypeFromFileExtension(String extension) |
protected SoundType |
SoundScribe._mediaTypeFromMediaTypeParameter(String mediaType) |
protected SoundType |
SoundScribe._mediaTypeFromTypeParameter(String type) |
Modifier and Type | Method and Description |
---|---|
protected Sound |
SoundScribe._newInstance(byte[] data,
SoundType contentType) |
protected Sound |
SoundScribe._newInstance(String uri,
SoundType contentType) |
Modifier and Type | Field and Description |
---|---|
static SoundType |
SoundType.AAC |
static SoundType |
SoundType.MIDI |
static SoundType |
SoundType.MP3 |
static SoundType |
SoundType.MPEG |
static SoundType |
SoundType.OGG |
static SoundType |
SoundType.WAV |
Modifier and Type | Method and Description |
---|---|
static SoundType |
SoundType.find(String type,
String mediaType,
String extension)
Searches for a parameter value that is defined as a static constant in
this class.
|
static SoundType |
SoundType.get(String type,
String mediaType,
String extension)
Searches for a parameter value and creates one if it cannot be found.
|
Modifier and Type | Method and Description |
---|---|
static Collection<SoundType> |
SoundType.all()
Gets all of the parameter values that are defined as static constants in
this class.
|
Constructor and Description |
---|
Sound(byte[] data,
SoundType type)
Creates a sound property.
|
Sound(InputStream in,
SoundType type)
Creates a sound property.
|
Sound(Path file,
SoundType type)
Creates a sound property.
|
Sound(String url,
SoundType type)
Creates a sound property.
|
Copyright © 2012–2023 Michael Angstadt. All rights reserved.