public final class Logo extends Property
| Modifier and Type | Class and Description |
|---|---|
static class |
Logo.Factory |
Property.IdILLEGAL_PARAMETER_MESSAGE| Constructor and Description |
|---|
Logo(byte[] binary) |
Logo(byte[] binary,
Type contentType) |
Logo(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Logo(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBinary() |
java.net.URI |
getUri() |
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toStringpublic Logo(java.net.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(java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException, org.apache.commons.codec.DecoderException
params - property parametersvalue - string representation of a property valuejava.net.URISyntaxException - where the specified URI value is an invalid URIorg.apache.commons.codec.DecoderException - where the specified logo data value cannot be decoded