com.atlassian.confluence.importexport
Class Exporter

java.lang.Object
  extended by com.atlassian.confluence.importexport.Exporter
Direct Known Subclasses:
AbstractExporterImpl

public abstract class Exporter
extends java.lang.Object


Field Summary
protected  ExportContext context
           
protected  org.apache.log4j.Category log
          Deprecated. since 4.2 use a private org.slf4j.Logger instead.
 
Constructor Summary
Exporter()
           
 
Method Summary
abstract  java.lang.String doExport(com.atlassian.core.util.ProgressMeter progress)
          Exports the content specified by the configured ExportContext.
 ExportContext getContext()
           
 void setContext(ExportContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

@Deprecated
protected org.apache.log4j.Category log
Deprecated. since 4.2 use a private org.slf4j.Logger instead.

context

protected ExportContext context
Constructor Detail

Exporter

public Exporter()
Method Detail

setContext

public void setContext(ExportContext context)

getContext

public ExportContext getContext()

doExport

public abstract java.lang.String doExport(com.atlassian.core.util.ProgressMeter progress)
                                   throws ImportExportException
Exports the content specified by the configured ExportContext.

Parameters:
progress - the meter to update with progress during the export.
Returns:
the path to the exported content.
Throws:
ImportExportException - if it fails for any reason.


Copyright © 2003-2014 Atlassian. All Rights Reserved.