public class Tile extends AbstractStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, 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,
OutputStream os) |
void |
writeContent(OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(OutputStream os)
Helper method to write the start of the Object.
|
writeToStreamcopySF, copySF, truncate, writeObjectspublic void writeContent(OutputStream os) throws IOException
AbstractStructuredObjectwriteContent in class AbstractStructuredObjectos - The stream to write toIOException - throws an I/O exception if one occurredprotected void writeStart(OutputStream os) throws IOException
AbstractStructuredObjectwriteStart in class AbstractStructuredObjectos - The stream to write toIOException - throws an I/O exception if one occurredprotected void writeEnd(OutputStream os) throws IOException
AbstractStructuredObjectwriteEnd in class AbstractStructuredObjectos - The stream to write toIOException - 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,
OutputStream os)
throws IOException
IOExceptionpublic 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 © 2023 Apache Software Foundation. All rights reserved.