| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv File | |
| pack-priv byte[] | |
| pack-priv int | |
| pack-priv int | |
| pack-priv RandomAccessFile | |
| pack-priv FontFileWriter. | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public void | |
| public void | |
| public File | |
| public boolean | |
| public File | |
| public void | |
| private void | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| private void |
| file | back to summary |
|---|---|
| pack-priv File file | |
| header | back to summary |
|---|---|
| pack-priv byte[] header | |
| headerPos | back to summary |
|---|---|
| pack-priv int headerPos | |
| pos | back to summary |
|---|---|
| pack-priv int pos | |
| raFile | back to summary |
|---|---|
| pack-priv RandomAccessFile raFile | |
| tracker | back to summary |
|---|---|
| pack-priv FontFileWriter. | |
| writtenBytes | back to summary |
|---|---|
| pack-priv int writtenBytes | |
| FontFileWriter | back to summary |
|---|---|
| public FontFileWriter() | |
| checkSize | back to summary |
|---|---|
| private void checkSize(int size) throws IOException | |
| checkTracker | back to summary |
|---|---|
| private void checkTracker(int size) throws IOException | |
| closeFile | back to summary |
|---|---|
| public void closeFile() throws IOException | |
| deleteFile | back to summary |
|---|---|
| public void deleteFile() | |
| getFile | back to summary |
|---|---|
| public File getFile() | |
| isTracking | back to summary |
|---|---|
| public boolean isTracking() | |
| openFile | back to summary |
|---|---|
| public File openFile() throws IOException | |
| seek | back to summary |
|---|---|
| public void seek(int pos) throws IOException | |
| setHeaderPos | back to summary |
|---|---|
| private void setHeaderPos(int pos) | |
| setLength | back to summary |
|---|---|
| protected void setLength(int size) throws IOException | |
| writeBytes | back to summary |
|---|---|
| public void writeBytes(byte[] buffer) throws IOException | |
| writeBytes | back to summary |
|---|---|
| public void writeBytes(byte[] buffer, int startPos, int length) throws IOException | |
| writeDirectoryEntry | back to summary |
|---|---|
| public void writeDirectoryEntry(int index, int tag, int checksum, int offset, int length) | |
| writeHeader | back to summary |
|---|---|
| public void writeHeader(int format, short numTables) throws IOException | |
| writeInt | back to summary |
|---|---|
| private void writeInt(int value) | |
| writeShort | back to summary |
|---|---|
| private void writeShort(short value) | |
| Modifier and Type | Class and Description |
|---|---|
| private static class | FontFileWriter.
Helper class for cleanup of temp files created while processing fonts. |
| Modifier and Type | Field and Description |
|---|---|
| private static Semaphore | |
| public static final int | |
| public static final int | |
| pack-priv static int | |
| pack-priv static FontFileWriter. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public synchronized void | |
| private static synchronized Semaphore | |
| public synchronized int | |
| public static synchronized FontFileWriter. | |
| public void | |
| public void | |
| public void | |
| public synchronized void |
| cs | back to summary |
|---|---|
| private static Semaphore cs | |
| MAX_FILE_SIZE | back to summary |
|---|---|
| public static final int MAX_FILE_SIZE | |
| MAX_TOTAL_BYTES | back to summary |
|---|---|
| public static final int MAX_TOTAL_BYTES | |
| numBytes | back to summary |
|---|---|
| pack-priv static int numBytes | |
| tracker | back to summary |
|---|---|
| pack-priv static FontFileWriter. | |
| FontTracker | back to summary |
|---|---|
| pack-priv FontTracker() | |
| acquirePermit | back to summary |
|---|---|
| public boolean acquirePermit() throws InterruptedException | |
| add | back to summary |
|---|---|
| public void add(File file) | |
| addBytes | back to summary |
|---|---|
| public synchronized void addBytes(int sz) | |
| getCS | back to summary |
|---|---|
| private static synchronized Semaphore getCS() Returns a counting semaphore. | |
| getNumBytes | back to summary |
|---|---|
| public synchronized int getNumBytes() | |
| getTracker | back to summary |
|---|---|
| public static synchronized FontFileWriter. | |
| releasePermit | back to summary |
|---|---|
| public void releasePermit() | |
| remove | back to summary |
|---|---|
| public void remove(File file) | |
| set | back to summary |
|---|---|
| public void set(File file, RandomAccessFile raf) | |
| subBytes | back to summary |
|---|---|
| public synchronized void subBytes(int sz) | |
| Modifier and Type | Field and Description |
|---|---|
| private static HashMap | |
| private static Thread |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static synchronized void | |
| pack-priv static void | |
| pack-priv static synchronized void | |
| pack-priv static synchronized void | |
| pack-priv static synchronized void |
| files | back to summary |
|---|---|
| private static HashMap<File, RandomAccessFile> files | |
| t | back to summary |
|---|---|
| private static Thread t | |
| TempFileDeletionHook | back to summary |
|---|---|
| private TempFileDeletionHook() | |
| add | back to summary |
|---|---|
| pack-priv static synchronized void add(File file) | |
| init | back to summary |
|---|---|
| pack-priv static void init() | |
| remove | back to summary |
|---|---|
| pack-priv static synchronized void remove(File file) | |
| runHooks | back to summary |
|---|---|
| pack-priv static synchronized void runHooks() | |
| set | back to summary |
|---|---|
| pack-priv static synchronized void set(File file, RandomAccessFile raf) | |