com.atlassian.jira.action.admin.export
Class DefaultSaxEntitiesExporter
java.lang.Object
com.atlassian.jira.action.admin.export.DefaultSaxEntitiesExporter
- All Implemented Interfaces:
- EntitiesExporter
- public class DefaultSaxEntitiesExporter
- extends Object
- implements EntitiesExporter
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
DefaultSaxEntitiesExporter
public DefaultSaxEntitiesExporter(org.ofbiz.core.entity.GenericDelegator delegator,
ApplicationProperties applicationProperties)
exportEntities
public long exportEntities(OutputStream outputStream,
TreeSet entityNames,
EntityXmlWriter entityWriter)
throws IOException,
org.ofbiz.core.entity.GenericEntityException
- Specified by:
exportEntities
in interface EntitiesExporter
- 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-2007 Atlassian. All Rights Reserved.