jdbreport.model.io.itext.pdf
Class PdfFileType

java.lang.Object
  extended by jdbreport.model.io.itext.pdf.PdfFileType
All Implemented Interfaces:
Comparable<FileType>, FileType
Direct Known Subclasses:
PdfFileType, PdfFileType

public abstract class PdfFileType
extends Object
implements FileType

Version:
2.0 07.06.2011
Author:
Andrey Kholmanskih

Field Summary
static String DEFAULT_FONT
           
static String FONT_PATHS
           
 
Constructor Summary
PdfFileType()
           
 
Method Summary
 int compareTo(FileType o)
           
abstract  ReportWriter createPdfWriter()
           
 String getContentType()
           
abstract  String getDefaultFont()
           
 String getDescription()
           
 String[] getExtensions()
           
abstract  Collection<String> getFontPaths()
           
 int getOrder()
           
 ReportReader getReader()
           
 ReportWriter getWriter()
           
abstract  void initFontMapper()
           
abstract  void setDefaultFont(String font)
           
abstract  void setFontPaths(Collection<String> fontPaths)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FONT_PATHS

public static final String FONT_PATHS
See Also:
Constant Field Values

DEFAULT_FONT

public static final String DEFAULT_FONT
See Also:
Constant Field Values
Constructor Detail

PdfFileType

public PdfFileType()
Method Detail

getExtensions

public String[] getExtensions()
Specified by:
getExtensions in interface FileType

getDescription

public String getDescription()
Specified by:
getDescription in interface FileType

getReader

public ReportReader getReader()
Specified by:
getReader in interface FileType

getWriter

public ReportWriter getWriter()
Specified by:
getWriter in interface FileType

getContentType

public String getContentType()
Specified by:
getContentType in interface FileType
Returns:
MIME type

getOrder

public int getOrder()
Specified by:
getOrder in interface FileType
Returns:
Sorting number in the FileChooser

compareTo

public int compareTo(FileType o)
Specified by:
compareTo in interface Comparable<FileType>

createPdfWriter

public abstract ReportWriter createPdfWriter()

getFontPaths

public abstract Collection<String> getFontPaths()

getDefaultFont

public abstract String getDefaultFont()

setFontPaths

public abstract void setFontPaths(Collection<String> fontPaths)

setDefaultFont

public abstract void setDefaultFont(String font)

initFontMapper

public abstract void initFontMapper()