public static class NameTable.Builder extends SubTableContainerTable.Builder<NameTable>
Modifier and Type | Method and Description |
---|---|
int |
builderCount() |
void |
clear()
Clear the name builders for the name table.
|
static NameTable.Builder |
createBuilder(Header header,
WritableFontData data)
Create a new builder using the header information and data provided.
|
boolean |
has(int platformId,
int encodingId,
int languageId,
int nameId) |
NameTable.NameEntryBuilder |
nameBuilder(int platformId,
int encodingId,
int languageId,
int nameId) |
boolean |
remove(int platformId,
int encodingId,
int languageId,
int nameId) |
void |
revertNames()
Revert the name builders for the name table to the last version that came
from data.
|
getBuilder, header, toString
build, changed, data, readyToBuild, setData, setData
public static NameTable.Builder createBuilder(Header header, WritableFontData data)
header
- the header informationdata
- the data holding the tablepublic void revertNames()
public int builderCount()
public void clear()
public boolean has(int platformId, int encodingId, int languageId, int nameId)
public NameTable.NameEntryBuilder nameBuilder(int platformId, int encodingId, int languageId, int nameId)
public boolean remove(int platformId, int encodingId, int languageId, int nameId)