|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.model.filetransfer.FileInformation
public class FileInformation
This is a facade class to execute different actions and queries on files that a project space has. An instance of this class is retrieved by calling ProjectSpace.getFileInfo( FileIdentifier ). It can be used to access or alter different aspects of the file wih the given identifier. If the file API is to be extended in the future, do this by adding methods to this class instead of adding them to the project space directly. This way the (already huge) interface of the ProjectSpace is kept slim.
Method Summary | |
---|---|
void |
cancelPendingUpload()
Cancels a pending upload. |
boolean |
isCached()
Returns true if the file is cached locally. |
boolean |
isPendingUpload()
Returns true if this file was recently added but not yet commited. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isCached()
public boolean isPendingUpload()
public void cancelPendingUpload()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |