public abstract class WoffTable extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
compressedData |
protected int |
paddingAdded |
protected byte[] |
tableData |
| Constructor and Description |
|---|
WoffTable(byte[] table) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract byte[] |
compress(byte[] data) |
byte[] |
getCompressedData() |
protected abstract byte[] |
getDirectoryData() |
byte[] |
getTableData() |
abstract String |
getTag() |
int |
origLength() |
protected byte[] |
padTableData(byte[] tableData) |
protected byte[] tableData
protected byte[] compressedData
protected int paddingAdded
protected abstract byte[] compress(byte[] data)
throws IOException
IOExceptionprotected abstract byte[] getDirectoryData()
throws IOException
IOExceptionpublic byte[] getCompressedData()
throws IOException
IOExceptionprotected byte[] padTableData(byte[] tableData)
public int origLength()
public byte[] getTableData()
public abstract String getTag()
Copyright © 2018. All rights reserved.