Class FileFontDataInputSource
java.lang.Object
org.pentaho.reporting.libraries.fonts.io.FileFontDataInputSource
- All Implemented Interfaces:
FontDataInputSource
Creation-Date: 15.12.2005, 15:55:56
- Author:
- Thomas Morgner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
getFile()
long
int
hashCode()
int
readAt
(long position) Reads a single byte, returns -1 if the end of the stream as been reached.int
readAt
(long position, byte[] buffer, int offset, int length) void
readFullyAt
(long position, byte[] buffer, int length)
-
Constructor Details
-
FileFontDataInputSource
- Throws:
IOException
-
-
Method Details
-
getLength
public long getLength()- Specified by:
getLength
in interfaceFontDataInputSource
-
readFullyAt
- Specified by:
readFullyAt
in interfaceFontDataInputSource
- Throws:
IOException
-
readAt
- Throws:
IOException
-
readAt
Description copied from interface:FontDataInputSource
Reads a single byte, returns -1 if the end of the stream as been reached.- Specified by:
readAt
in interfaceFontDataInputSource
- Returns:
- Throws:
IOException
-
dispose
public void dispose()- Specified by:
dispose
in interfaceFontDataInputSource
-
getFile
-
getFileName
- Specified by:
getFileName
in interfaceFontDataInputSource
-
equals
- Specified by:
equals
in interfaceFontDataInputSource
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceFontDataInputSource
- Overrides:
hashCode
in classObject
-