Modifier and Type | Field and Description |
---|---|
private boolean |
cancel |
private File |
file |
private org.gephi.utils.progress.ProgressTicket |
progressTicket |
private Project |
project |
private static String |
ZIP_LEVEL_PREFERENCE |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel() |
private static String |
getFileExtension(File file) |
private static String |
getFileNameWithoutExt(File file) |
private static XMLStreamWriter |
newXMLWriter(OutputStream outputStream) |
void |
run() |
void |
setProgressTicket(org.gephi.utils.progress.ProgressTicket progressTicket) |
private void |
writeProject(OutputStream outputStream,
ZipOutputStream zipOut) |
private void |
writeWorkspace(Workspace workspace,
OutputStream outputStream,
ZipOutputStream zipOut) |
private void |
writeWorkspaceChildrenBytes(Workspace workspace,
WorkspaceBytesPersistenceProvider persistenceProvider,
DataOutputStream outputStream,
ZipOutputStream zipOut) |
private void |
writeWorkspaceChildrenXML(Workspace workspace,
WorkspaceXMLPersistenceProvider persistenceProvider,
OutputStream outputStream,
ZipOutputStream zipOut) |
private static final String ZIP_LEVEL_PREFERENCE
private final File file
private final Project project
private boolean cancel
private org.gephi.utils.progress.ProgressTicket progressTicket
private void writeProject(OutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exception
private void writeWorkspace(Workspace workspace, OutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exception
private void writeWorkspaceChildrenXML(Workspace workspace, WorkspaceXMLPersistenceProvider persistenceProvider, OutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exception
private void writeWorkspaceChildrenBytes(Workspace workspace, WorkspaceBytesPersistenceProvider persistenceProvider, DataOutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exception
private static XMLStreamWriter newXMLWriter(OutputStream outputStream) throws Exception
Exception
public boolean cancel()
cancel
in interface org.gephi.utils.longtask.spi.LongTask
public void setProgressTicket(org.gephi.utils.progress.ProgressTicket progressTicket)
setProgressTicket
in interface org.gephi.utils.longtask.spi.LongTask
Copyright © 2007–2016 Gephi Consortium. All rights reserved.