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 ImageType |
ImagePropertyScribe._mediaTypeFromFileExtension(String extension) |
protected ImageType |
ImagePropertyScribe._mediaTypeFromMediaTypeParameter(String mediaType) |
protected ImageType |
ImagePropertyScribe._mediaTypeFromTypeParameter(String type) |
Modifier and Type | Method and Description |
---|---|
protected Photo |
PhotoScribe._newInstance(byte[] data,
ImageType contentType) |
protected Logo |
LogoScribe._newInstance(byte[] data,
ImageType contentType) |
protected Photo |
PhotoScribe._newInstance(String uri,
ImageType contentType) |
protected Logo |
LogoScribe._newInstance(String uri,
ImageType contentType) |
Modifier and Type | Field and Description |
---|---|
static ImageType |
ImageType.GIF |
static ImageType |
ImageType.JPEG |
static ImageType |
ImageType.PNG |
Modifier and Type | Method and Description |
---|---|
static ImageType |
ImageType.find(String type,
String mediaType,
String extension)
Searches for a parameter value that is defined as a static constant in
this class.
|
static ImageType |
ImageType.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<ImageType> |
ImageType.all()
Gets all of the parameter values that are defined as static constants in
this class.
|
Constructor and Description |
---|
ImageProperty(byte[] data,
ImageType type)
Creates an image property.
|
ImageProperty(InputStream in,
ImageType type)
Creates an image property.
|
ImageProperty(Path file,
ImageType type)
Creates an image property.
|
ImageProperty(String url,
ImageType type)
Creates an image property.
|
Logo(byte[] data,
ImageType type)
Creates a logo property.
|
Logo(InputStream in,
ImageType type)
Creates a logo property.
|
Logo(Path file,
ImageType type)
Creates a logo property.
|
Logo(String url,
ImageType type)
Creates a logo property.
|
Photo(byte[] data,
ImageType type)
Creates a photo property.
|
Photo(InputStream in,
ImageType type)
Creates a photo property.
|
Photo(Path file,
ImageType type)
Creates a photo property.
|
Photo(String url,
ImageType type)
Creates a photo property.
|
Copyright © 2012–2023 Michael Angstadt. All rights reserved.