org.pentaho.reporting.libraries.fonts.io

Class ResourceFontDataInputSource

public class ResourceFontDataInputSource extends Object implements FontDataInputSource

The current use of iText and its inherent dependence on the font filename makes it not feasible to use libLoader for the font loading right now.

Author: Thomas Morgner

Constructor Summary
ResourceFontDataInputSource(ResourceManager loader, ResourceKey source)
Method Summary
voiddispose()
booleanequals(Object o)
StringgetFileName()
longgetLength()
inthashCode()
intreadAt(long position)
voidreadFullyAt(long position, byte[] buffer, int length)

Constructor Detail

ResourceFontDataInputSource

public ResourceFontDataInputSource(ResourceManager loader, ResourceKey source)

Method Detail

dispose

public void dispose()

equals

public boolean equals(Object o)

getFileName

public String getFileName()

getLength

public long getLength()

hashCode

public int hashCode()

readAt

public int readAt(long position)

readFullyAt

public void readFullyAt(long position, byte[] buffer, int length)