public class CMapBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
name
|
protected java.io.Writer |
writer
writer
|
Constructor and Description |
---|
CMapBuilder(java.io.Writer writer,
java.lang.String name)
Construct cmap builder.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeBFEntries() |
protected void |
writeCIDInit() |
protected void |
writeCIDRange() |
protected void |
writeCIDSystemInfo() |
protected void |
writeCIDSystemInfo(java.lang.String registry,
java.lang.String ordering,
int supplement) |
void |
writeCMap()
Writes the CMap to a Writer.
|
protected void |
writeCodeSpaceRange() |
protected void |
writeCodeSpaceRange(boolean singleByte) |
protected void |
writeName(java.lang.String name) |
protected void |
writePreStream() |
protected void |
writeStreamAfterComments() |
protected void |
writeStreamComments() |
protected void |
writeType(java.lang.String type) |
protected void |
writeUseCMap()
does nothing
|
protected void |
writeVersion(java.lang.String version) |
protected void |
writeWrapUp() |
protected java.lang.String name
protected java.io.Writer writer
public CMapBuilder(java.io.Writer writer, java.lang.String name)
writer
- a writername
- a namepublic void writeCMap() throws java.io.IOException
java.io.IOException
- if an I/O error occursprotected void writePreStream() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeStreamComments() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeCIDInit() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeCIDSystemInfo(java.lang.String registry, java.lang.String ordering, int supplement) throws java.io.IOException
registry
- stringordering
- stringsupplement
- stringjava.io.IOException
- if i/o exceptionprotected void writeCIDSystemInfo() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeVersion(java.lang.String version) throws java.io.IOException
version
- a versionjava.io.IOException
- if i/o exceptionprotected void writeType(java.lang.String type) throws java.io.IOException
type
- a typejava.io.IOException
- if i/o exceptionprotected void writeName(java.lang.String name) throws java.io.IOException
name
- a namejava.io.IOException
- if i/o exceptionprotected void writeCodeSpaceRange() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeCodeSpaceRange(boolean singleByte) throws java.io.IOException
singleByte
- true if single byte rangejava.io.IOException
- if i/o exceptionprotected void writeCIDRange() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeBFEntries() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeWrapUp() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeStreamAfterComments() throws java.io.IOException
java.io.IOException
- if i/o exceptionprotected void writeUseCMap()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.