Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.negotiation.FileListFactory Class Reference

List of all members.

Static Public Member Functions

static FileList createFileList (IProject project, List< IResource > resources, IChecksumCache checksumCache, VCSProvider provider, IProgressMonitor monitor) throws IOException
static FileList createFileList (List< String > paths)
static FileList createEmptyFileList ()

Detailed Description

Offers two ways to create file lists.

Either an inexpensive one that rescans the whole project to gather meta data:
createFileList(IProject, List, IChecksumCache, VCSProvider, IProgressMonitor) Or a cheap one which requires the caller to take care of the validity of input data:
createFileList(List)


Member Function Documentation

static FileList de.fu_berlin.inf.dpp.negotiation.FileListFactory.createEmptyFileList ( ) [static]
static FileList de.fu_berlin.inf.dpp.negotiation.FileListFactory.createFileList ( IProject  project,
List< IResource resources,
IChecksumCache  checksumCache,
VCSProvider  provider,
IProgressMonitor  monitor 
) throws IOException [static]
static FileList de.fu_berlin.inf.dpp.negotiation.FileListFactory.createFileList ( List< String >  paths) [static]

Creates a new file list from given paths. It does not compute checksums or location information.

Note: This method does not check the input. The caller is responsible for the correct input !

Parameters:
pathsa list of paths that refers to files that should be added to this file list.
 All Classes Namespaces Files Functions Variables Enumerations