Interface FontDataInputSource
- All Known Implementing Classes:
FileFontDataInputSource
,ResourceFontDataInputSource
public interface FontDataInputSource
Creation-Date: 15.12.2005, 15:48:56
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
equals
(java.lang.Object o) java.lang.String
long
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)
-
Method Details
-
getLength
long getLength() -
readFullyAt
void readFullyAt(long position, byte[] buffer, int length) throws java.io.IOException - Throws:
java.io.IOException
-
readAt
int readAt(long position) throws java.io.IOException Reads a single byte, returns -1 if the end of the stream as been reached.- Parameters:
position
-- Returns:
- Throws:
java.io.IOException
-
dispose
void dispose() -
getFileName
java.lang.String getFileName() -
equals
boolean equals(java.lang.Object o) - Overrides:
equals
in classjava.lang.Object
-
hashCode
int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-