fr.opensagres.xdocreport.document.dump
Class AbstractProjectDumper

java.lang.Object
  extended by fr.opensagres.xdocreport.document.dump.AbstractDumper
      extended by fr.opensagres.xdocreport.document.dump.AbstractProjectDumper
All Implemented Interfaces:
IDumper
Direct Known Subclasses:
EclipseProjectDumper, MavenProjectDumper

public abstract class AbstractProjectDumper
extends AbstractDumper


Nested Class Summary
static class AbstractProjectDumper.ProjectDumperOption
           
 
Constructor Summary
AbstractProjectDumper()
           
 
Method Summary
protected  void doDump(IXDocReport report, InputStream documentIn, IContext context, DumperOptions option, ITemplateEngine templateEngine, OutputStream out)
           
protected  void doDump(IXDocReport report, InputStream documentIn, IContext context, ITemplateEngine templateEngine, IContext dumpContext, File baseDir, ZipOutputStream out)
           
protected abstract  String getJavaSrcPath()
           
 MimeMapping getMimeMapping()
          Returns mime mapping switch the kind of the dumper.
protected abstract  String getResourcesSrcPath()
           
 
Methods inherited from class fr.opensagres.xdocreport.document.dump.AbstractDumper
dump, dump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProjectDumper

public AbstractProjectDumper()
Method Detail

doDump

protected void doDump(IXDocReport report,
                      InputStream documentIn,
                      IContext context,
                      DumperOptions option,
                      ITemplateEngine templateEngine,
                      OutputStream out)
               throws IOException,
                      XDocReportException
Specified by:
doDump in class AbstractDumper
Throws:
IOException
XDocReportException

doDump

protected void doDump(IXDocReport report,
                      InputStream documentIn,
                      IContext context,
                      ITemplateEngine templateEngine,
                      IContext dumpContext,
                      File baseDir,
                      ZipOutputStream out)
               throws IOException,
                      XDocReportException
Throws:
IOException
XDocReportException

getMimeMapping

public MimeMapping getMimeMapping()
Description copied from interface: IDumper
Returns mime mapping switch the kind of the dumper.

Returns:

getJavaSrcPath

protected abstract String getJavaSrcPath()

getResourcesSrcPath

protected abstract String getResourcesSrcPath()


Copyright © 2013. All rights reserved.