org.foray.font.output
Class FontPdfFactory4a

java.lang.Object
  extended by org.foray.font.output.FontOutputFactory4a
      extended by org.foray.font.output.FontPdfFactory4a

public class FontPdfFactory4a
extends FontOutputFactory4a

Factory for creating instances of FontOutput for PDF output.


Constructor Summary
FontPdfFactory4a()
          Constructor.
 
Method Summary
 org.axsl.font.output.FontOutput createFontOutput(FontUse4a fontUse)
          Create a FontOutput implementation.
 String getMimeType()
          Returns the mime-type for this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontPdfFactory4a

public FontPdfFactory4a()
Constructor.

Method Detail

createFontOutput

public org.axsl.font.output.FontOutput createFontOutput(FontUse4a fontUse)
                                                 throws org.axsl.font.FontException
Description copied from class: FontOutputFactory4a
Create a FontOutput implementation. This method is not intended for use by client applications. It is to be used only by FontUse implementations if they do not already have a FontOutput for the desired mime type. Client applications that need a FontOutput instance should instead use FontUse.getFontOutput(String).

Specified by:
createFontOutput in class FontOutputFactory4a
Parameters:
fontUse - The FontUse implementation for which the FontOutput instance should be created.
Returns:
A FontOutput implementation suitable for this factory's mime type.
Throws:
org.axsl.font.FontException - For errors during creation of the FontOutput instance.
See Also:
FontUse.getFontOutput(String)

getMimeType

public String getMimeType()
Description copied from class: FontOutputFactory4a
Returns the mime-type for this factory.

Specified by:
getMimeType in class FontOutputFactory4a
Returns:
The mime type for which this factory generates GraphicOutput instances. For example, a factory returning FontOutput instances for use with PDF (Portable Document Format) should return "application/pdf".
See Also:
Internet Assigned Numbers Authority MIME Media Types


Copyright © 2017. All rights reserved.