Class WebPChunkXml
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
-
- org.apache.commons.imaging.formats.webp.chunks.WebPChunkXml
-
public final class WebPChunkXml extends AbstractWebPChunk
XML chunk.0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ChunkHeader('XMP ') | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ : XMP Metadata : +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Since:
- 1.0.0-alpha4
- See Also:
- Extended File Format#Metadata
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringxml-
Fields inherited from class org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
bytes
-
-
Constructor Summary
Constructors Constructor Description WebPChunkXml(int type, int size, byte[] bytes)Create a XML chunk.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetXml()-
Methods inherited from class org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
dump, getBytes, getChunkSize, getPayloadSize, getType, getTypeDescription
-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Constructor Detail
-
WebPChunkXml
public WebPChunkXml(int type, int size, byte[] bytes) throws ImagingExceptionCreate a XML chunk.- Parameters:
type- chunk type.size- chunk size.bytes- chunk data.- Throws:
ImagingException- if the chunk data and the size provided do not match.
-
-