public class Tile extends AbstractStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
Tile() |
Modifier and Type | Method and Description |
---|---|
void |
setBandImage(BandImage bandImage) |
void |
setIDEStructureParameter(IDEStructureParameter ideStructureParameter) |
void |
setImageData(byte[] imageData) |
void |
setImageEncodingParameter(byte encoding) |
void |
setImageIDESizeParameter(byte ideSize) |
void |
setPosition(TilePosition tilePosition) |
void |
setSize(TileSize tileSize) |
void |
setTransparencyMask(TransparencyMask transparencyMask) |
protected static void |
writeChunksToStream(byte[] data,
byte[] dataHeader,
int lengthOffset,
int maxChunkLength,
java.io.OutputStream os) |
void |
writeContent(java.io.OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os)
Helper method to write the start of the Object.
|
writeToStream
copySF, copySF, truncate, writeObjects
public void writeContent(java.io.OutputStream os) throws java.io.IOException
AbstractStructuredObject
writeContent
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeStart(java.io.OutputStream os) throws java.io.IOException
AbstractStructuredObject
writeStart
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os) throws java.io.IOException
AbstractStructuredObject
writeEnd
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- an I/O exception if one occurredpublic void setPosition(TilePosition tilePosition)
public void setSize(TileSize tileSize)
public void setImageData(byte[] imageData)
protected static void writeChunksToStream(byte[] data, byte[] dataHeader, int lengthOffset, int maxChunkLength, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public void setImageEncodingParameter(byte encoding)
public void setImageIDESizeParameter(byte ideSize)
public void setIDEStructureParameter(IDEStructureParameter ideStructureParameter)
public void setBandImage(BandImage bandImage)
public void setTransparencyMask(TransparencyMask transparencyMask)
Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.