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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()booleangetFile()longinthashCode()intreadAt(long position) Reads a single byte, returns -1 if the end of the stream as been reached.intreadAt(long position, byte[] buffer, int offset, int length) voidreadFullyAt(long position, byte[] buffer, int length)
-
Constructor Details
-
FileFontDataInputSource
- Throws:
IOException
-
-
Method Details
-
getLength
public long getLength()- Specified by:
getLengthin interfaceFontDataInputSource
-
readFullyAt
- Specified by:
readFullyAtin interfaceFontDataInputSource- Throws:
IOException
-
readAt
- Throws:
IOException
-
readAt
Description copied from interface:FontDataInputSourceReads a single byte, returns -1 if the end of the stream as been reached.- Specified by:
readAtin interfaceFontDataInputSource- Returns:
- Throws:
IOException
-
dispose
public void dispose()- Specified by:
disposein interfaceFontDataInputSource
-
getFile
-
getFileName
- Specified by:
getFileNamein interfaceFontDataInputSource
-
equals
- Specified by:
equalsin interfaceFontDataInputSource- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceFontDataInputSource- Overrides:
hashCodein classObject
-