public final class Logo extends Property
Property.Id
Modifier and Type | Field and Description |
---|---|
static PropertyFactory<Logo> |
FACTORY |
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Logo(byte[] binary) |
Logo(byte[] binary,
Type contentType) |
Logo(List<Parameter> params,
String value)
Factory constructor.
|
Logo(URI uri) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinary() |
URI |
getUri() |
String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public static final PropertyFactory<Logo> FACTORY
public Logo(URI uri)
uri
- a URI that specifies the location of a logopublic Logo(byte[] binary)
binary
- a byte array of logo datapublic Logo(byte[] binary, Type contentType)
binary
- a byte array of logo datacontentType
- the MIME type of the logo datapublic Logo(List<Parameter> params, String value) throws URISyntaxException, org.apache.commons.codec.DecoderException
params
- property parametersvalue
- string representation of a property valueURISyntaxException
- where the specified URI value is an invalid URIorg.apache.commons.codec.DecoderException
- where the specified logo data value cannot be decodedCopyright © 2008-2012 Micronode. All Rights Reserved.