Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.negotiation.DecompressArchiveTask Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.negotiation.DecompressArchiveTask:
de.fu_berlin.inf.dpp.filesystem.IWorkspaceRunnable

List of all members.

Public Member Functions

 DecompressArchiveTask (final File file, final Map< String, IProject > idToProjectMapping, final String delimiter, final IProgressMonitor monitor)
void run (IProgressMonitor monitor) throws IOException, OperationCanceledException

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.negotiation.DecompressArchiveTask.DecompressArchiveTask ( final File  file,
final Map< String, IProject idToProjectMapping,
final String  delimiter,
final IProgressMonitor  monitor 
)

Creates a decompress task for an archive file that can be executed by IWorkspace#run. All necessary folders will be created on the fly. Important: Existing files will be overwritten without confirmation!

Parameters:
fileZip file containing the compressed data
idToProjectMappingmap containing the id to project mapping (see also ISarosSession#getProjectID(de.fu_berlin.inf.dpp.filesystem.IProject)
monitormonitor that is used for progress report and cancellation or null to use the monitor provided by the run(IProgressMonitor) method

Member Function Documentation

void de.fu_berlin.inf.dpp.negotiation.DecompressArchiveTask.run ( IProgressMonitor  monitor) throws IOException, OperationCanceledException
 All Classes Namespaces Files Functions Variables Enumerations