com.atlassian.jira.action.admin.export
Class DefaultSaxEntityExporter
java.lang.Object
com.atlassian.jira.action.admin.export.DefaultSaxEntityExporter
- All Implemented Interfaces:
- EntityExporter
- public class DefaultSaxEntityExporter
- extends Object
- implements EntityExporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NL
protected static final String NL
delegator
protected final org.ofbiz.core.entity.GenericDelegator delegator
applicationProperties
protected final ApplicationProperties applicationProperties
DefaultSaxEntityExporter
public DefaultSaxEntityExporter(org.ofbiz.core.entity.GenericDelegator delegator,
ApplicationProperties applicationProperties)
exportEntities
public long exportEntities(OutputStream outputStream,
TreeSet entityNames)
throws IOException,
org.ofbiz.core.entity.GenericEntityException
- Specified by:
exportEntities
in interface EntityExporter
- Returns:
- the number of individual entities written
- Throws:
IOException
org.ofbiz.core.entity.GenericEntityException
getWriter
protected PrintWriter getWriter(OutputStream outputStream)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
writeFooter
protected void writeFooter(PrintWriter printWriter)
writeHeader
protected void writeHeader(PrintWriter printWriter)
Copyright © 2002-2006 Atlassian. All Rights Reserved.