public void exportZip(JCRNodeWrapper node, JCRNodeWrapper exportRoot, OutputStream out, Map<String, Object> params) throws JahiaException, RepositoryException, SAXException, IOException, JDOMException {
ZipOutputStream zout = new ZipOutputStream(out);
Set<JCRNodeWrapper> nodes = new HashSet<JCRNodeWrapper>();
nodes.add(node);
exportNodesWithBinaries(exportRoot == null ? node : exportRoot, nodes, zout, new HashSet<String>(),params);
zout.finish();
}
public void exportNode(JCRNodeWrapper node, JCRNodeWrapper exportRoot, OutputStream out, Map<String, Object> params) throws JahiaException, RepositoryException, SAXException, IOException, JDOMException {
TreeSet<JCRNodeWrapper> nodes = new TreeSet<JCRNodeWrapper>();
nodes.add(node);