public class ResourceFontDataInputSource extends java.lang.Object implements FontDataInputSource
| Constructor and Description |
|---|
ResourceFontDataInputSource(org.pentaho.reporting.libraries.resourceloader.ResourceManager loader,
org.pentaho.reporting.libraries.resourceloader.ResourceKey source) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFileName() |
long |
getLength() |
int |
hashCode() |
int |
readAt(long position)
Reads a single byte, returns -1 if the end of the stream as been reached.
|
void |
readFullyAt(long position,
byte[] buffer,
int length) |
public ResourceFontDataInputSource(org.pentaho.reporting.libraries.resourceloader.ResourceManager loader,
org.pentaho.reporting.libraries.resourceloader.ResourceKey source)
public long getLength()
getLength in interface FontDataInputSourcepublic void readFullyAt(long position,
byte[] buffer,
int length)
throws java.io.IOException
readFullyAt in interface FontDataInputSourcejava.io.IOExceptionpublic int readAt(long position)
throws java.io.IOException
FontDataInputSourcereadAt in interface FontDataInputSourcejava.io.IOExceptionpublic void dispose()
dispose in interface FontDataInputSourcepublic java.lang.String getFileName()
getFileName in interface FontDataInputSourcepublic boolean equals(java.lang.Object o)
equals in interface FontDataInputSourceequals in class java.lang.Objectpublic int hashCode()
hashCode in interface FontDataInputSourcehashCode in class java.lang.Object