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 Type
    Method
    Description
    void
     
    boolean
     
     
    long
     
    int
     
    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 IOException
      Throws:
      IOException
    • readAt

      int readAt(long position) throws IOException
      Reads a single byte, returns -1 if the end of the stream as been reached.
      Parameters:
      position -
      Returns:
      Throws:
      IOException
    • dispose

      void dispose()
    • getFileName

      String getFileName()
    • equals

      boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object