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 KeyType |
KeyScribe._mediaTypeFromFileExtension(String extension) |
protected KeyType |
KeyScribe._mediaTypeFromMediaTypeParameter(String mediaType) |
protected KeyType |
KeyScribe._mediaTypeFromTypeParameter(String type) |
Modifier and Type | Method and Description |
---|---|
protected Key |
KeyScribe._newInstance(byte[] data,
KeyType contentType) |
protected Key |
KeyScribe._newInstance(String uri,
KeyType contentType) |
protected Key |
KeyScribe.cannotUnmarshalValue(String value,
VCardVersion version,
KeyType contentType) |
Modifier and Type | Field and Description |
---|---|
static KeyType |
KeyType.GPG |
static KeyType |
KeyType.PGP |
static KeyType |
KeyType.X509 |
Modifier and Type | Method and Description |
---|---|
static KeyType |
KeyType.find(String type,
String mediaType,
String extension)
Searches for a parameter value that is defined as a static constant in
this class.
|
static KeyType |
KeyType.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<KeyType> |
KeyType.all()
Gets all of the parameter values that are defined as static constants in
this class.
|
Modifier and Type | Method and Description |
---|---|
void |
Key.setData(byte[] data,
KeyType type) |
void |
Key.setText(String text,
KeyType type)
Sets a plain text representation of the key.
|
void |
Key.setUrl(String url,
KeyType type)
Sets the URL or URI of the key.
|
Constructor and Description |
---|
Key(byte[] data,
KeyType type)
Creates a key property.
|
Key(InputStream in,
KeyType type)
Creates a key property.
|
Key(Path file,
KeyType type)
Creates a key property.
|
Key(String url,
KeyType type)
Creates a key property.
|
Copyright © 2012–2023 Michael Angstadt. All rights reserved.