public class FontInputStream extends Object
| Constructor and Description |
|---|
FontInputStream(FontInputStream in) |
FontInputStream(InputStream in) |
FontInputStream(InputStream in,
long size) |
FontInputStream(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getCurrentOffset() |
byte[] |
getDigest() |
boolean |
isValidOffset(long offset) |
boolean |
isValidOffset(long offset,
long length) |
static int |
numFis() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skipTo(long offset) |
void |
unread(byte[] b) |
void |
unread(byte[] b,
int off,
int len) |
void |
unread(int b) |
public FontInputStream(FontInputStream in)
public FontInputStream(InputStream in)
public FontInputStream(URL url) throws IOException
IOExceptionpublic FontInputStream(InputStream in, long size)
public static int numFis()
public void close()
throws IOException
IOExceptionpublic boolean isValidOffset(long offset,
long length)
public boolean isValidOffset(long offset)
public long getCurrentOffset()
public long skipTo(long offset)
throws IOException,
InvalidFontException
IOExceptionInvalidFontExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic int read(byte[] b)
throws IOException
IOExceptionpublic int read()
throws IOException
IOExceptionpublic void unread(int b)
throws IOException
IOExceptionpublic void unread(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic void unread(byte[] b)
throws IOException
IOExceptionpublic byte[] getDigest()
throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved