Interface FontDataInputSource
-
- All Known Implementing Classes:
FileFontDataInputSource
,ResourceFontDataInputSource
public interface FontDataInputSource
Creation-Date: 15.12.2005, 15:48:56- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
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
-
-