APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.font

pack-priv Class FontFileWriter

extends Object
implements FontConstants
Class Inheritance
All Implemented Interfaces
com.sun.javafx.font.FontConstants
Known Direct Subclasses
com.sun.javafx.font.WoffDecoder, com.sun.javafx.font.DFontDecoder
Imports
java.io.File, .RandomAccessFile, .IOException, java.nio.file.Files

Field Summary

Modifier and TypeField and Description
pack-priv File
pack-priv byte[]
pack-priv int
pack-priv int
pack-priv RandomAccessFile

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public File
public File
public void
seek(int pos)

private void
setHeaderPos(int pos)

protected void
setLength(int size)

public void
writeBytes(byte[] buffer)

public void
writeBytes(byte[] buffer, int startPos, int length)

public void
writeDirectoryEntry(int index, int tag, int checksum, int offset, int length)

public void
writeHeader(int format, short numTables)

private void
writeInt(int value)

private void
writeShort(short value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fileback to summary
pack-priv File file
headerPosback to summary
pack-priv int headerPos
posback to summary
pack-priv int pos
raFileback to summary
pack-priv RandomAccessFile raFile

Constructor Detail

FontFileWriterback to summary
public FontFileWriter()

Method Detail

closeFileback to summary
public void closeFile() throws IOException
deleteFileback to summary
public void deleteFile()
getFileback to summary
public File getFile()
openFileback to summary
public File openFile() throws IOException
seekback to summary
public void seek(int pos) throws IOException
setHeaderPosback to summary
private void setHeaderPos(int pos)
setLengthback to summary
protected void setLength(int size) throws IOException
writeBytesback to summary
public void writeBytes(byte[] buffer) throws IOException
writeBytesback to summary
public void writeBytes(byte[] buffer, int startPos, int length) throws IOException
writeDirectoryEntryback to summary
public void writeDirectoryEntry(int index, int tag, int checksum, int offset, int length)
writeHeaderback to summary
public void writeHeader(int format, short numTables) throws IOException
writeIntback to summary
private void writeInt(int value)
writeShortback to summary
private void writeShort(short value)