net.ajaest.jdk.core.exporters
Class PDFExporter

java.lang.Object
  extended by net.ajaest.jdk.core.exporters.Exporter<E>
      extended by net.ajaest.jdk.core.exporters.AbstractMultiExporter<KanjiTag>
          extended by net.ajaest.jdk.core.exporters.PDFExporter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Exporter<?>>

public class PDFExporter
extends AbstractMultiExporter<KanjiTag>

See Also:
Serialized Form

Field Summary
protected  java.util.Map<java.lang.String,java.lang.String> messages
           
private static long serialVersionUID
           
 
Fields inherited from class net.ajaest.jdk.core.exporters.AbstractMultiExporter
subExporters
 
Fields inherited from class net.ajaest.jdk.core.exporters.Exporter
languaje, stylerDialogs, stylers
 
Constructor Summary
PDFExporter(java.lang.String lang)
           
 
Method Summary
private  java.lang.String adaptFlashCardDocument(java.io.File f)
           
private  java.lang.String adaptPlainTextDocument(java.io.File f)
           
private  java.lang.String adaptTableDocument(java.io.File f)
           
 java.lang.Boolean export(java.util.List<KanjiTag> kts)
           
 javax.swing.filechooser.FileFilter getFileChooserFilters()
           
 java.lang.String getMessage(java.lang.String key)
           
 java.lang.String getName()
           
private  java.lang.String getText(java.io.File f)
           
private static java.util.List<Exporter<KanjiTag>> initExporters(java.lang.String lang)
           
protected  void initMessages(java.lang.String lang)
           
protected  java.lang.Boolean transformSubExportation(java.io.File f)
           
 
Methods inherited from class net.ajaest.jdk.core.exporters.AbstractMultiExporter
getExporters, getSelectedExporter, setSelectedStyler
 
Methods inherited from class net.ajaest.jdk.core.exporters.Exporter
compareTo, extraConfigJFrame, getDialogParent, getExportException, getExportFile, getLanguaje, getSelectedStyler, getSelectedStylerIndex, getStylers, initDialog, invokeExtraConfigJFrame, setDialogParent, setExportException, setExportFile, setExportPath, setLanguaje, setStylers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

messages

protected java.util.Map<java.lang.String,java.lang.String> messages
Constructor Detail

PDFExporter

public PDFExporter(java.lang.String lang)
Method Detail

initExporters

private static java.util.List<Exporter<KanjiTag>> initExporters(java.lang.String lang)

export

public java.lang.Boolean export(java.util.List<KanjiTag> kts)
Overrides:
export in class AbstractMultiExporter<KanjiTag>

getFileChooserFilters

public javax.swing.filechooser.FileFilter getFileChooserFilters()
Specified by:
getFileChooserFilters in class AbstractMultiExporter<KanjiTag>

getMessage

public java.lang.String getMessage(java.lang.String key)
Specified by:
getMessage in class AbstractMultiExporter<KanjiTag>

getName

public java.lang.String getName()
Specified by:
getName in class AbstractMultiExporter<KanjiTag>

initMessages

protected void initMessages(java.lang.String lang)
Specified by:
initMessages in class AbstractMultiExporter<KanjiTag>

transformSubExportation

protected java.lang.Boolean transformSubExportation(java.io.File f)
                                             throws java.lang.Exception
Specified by:
transformSubExportation in class AbstractMultiExporter<KanjiTag>
Throws:
java.lang.Exception

adaptPlainTextDocument

private java.lang.String adaptPlainTextDocument(java.io.File f)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

adaptTableDocument

private java.lang.String adaptTableDocument(java.io.File f)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

adaptFlashCardDocument

private java.lang.String adaptFlashCardDocument(java.io.File f)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getText

private java.lang.String getText(java.io.File f)
                          throws java.lang.Exception
Throws:
java.lang.Exception