| 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
Exceptionprivate void writeWorkspace(Workspace workspace, OutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exceptionprivate void writeWorkspaceChildrenXML(Workspace workspace, WorkspaceXMLPersistenceProvider persistenceProvider, OutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exceptionprivate void writeWorkspaceChildrenBytes(Workspace workspace, WorkspaceBytesPersistenceProvider persistenceProvider, DataOutputStream outputStream, ZipOutputStream zipOut) throws Exception
Exceptionprivate static XMLStreamWriter newXMLWriter(OutputStream outputStream) throws Exception
Exceptionpublic boolean cancel()
cancel in interface org.gephi.utils.longtask.spi.LongTaskpublic void setProgressTicket(org.gephi.utils.progress.ProgressTicket progressTicket)
setProgressTicket in interface org.gephi.utils.longtask.spi.LongTaskCopyright © 2007–2017 Gephi Consortium. All rights reserved.