
public class FileSystemTransferSystem extends CDOTransferSystem
transfer system that abstracts the external file system.| Modifier and Type | Field and Description |
|---|---|
static FileSystemTransferSystem |
INSTANCE |
static String |
TYPE |
| Constructor and Description |
|---|
FileSystemTransferSystem() |
| Modifier and Type | Method and Description |
|---|---|
void |
createBinary(IPath path,
InputStream source,
IProgressMonitor monitor) |
void |
createFolder(IPath path) |
void |
createText(IPath path,
InputStream source,
String encoding,
IProgressMonitor monitor) |
CDOTransferElement |
getElement(IPath path) |
CDOTransferElement |
getElement(URI uri) |
protected File |
getFile(IPath path) |
String |
getType() |
URI |
getURI(IPath path) |
protected void |
mkDir(File file) |
protected void |
mkParent(File file) |
String |
toString() |
createModel, getDefaultTransferType, getElement, isReadOnly, provideResourceSet, saveModelspublic static final FileSystemTransferSystem INSTANCE
public static final String TYPE
public String getType()
getType in class CDOTransferSystempublic URI getURI(IPath path)
getURI in class CDOTransferSystempublic CDOTransferElement getElement(IPath path)
getElement in class CDOTransferSystempublic CDOTransferElement getElement(URI uri)
getElement in class CDOTransferSystempublic void createFolder(IPath path)
createFolder in class CDOTransferSystempublic void createBinary(IPath path, InputStream source, IProgressMonitor monitor)
createBinary in class CDOTransferSystempublic void createText(IPath path, InputStream source, String encoding, IProgressMonitor monitor)
createText in class CDOTransferSystemprotected void mkParent(File file)
protected void mkDir(File file)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.