public class FileSystemTransferSystem extends CDOTransferSystem
transfer system that abstracts the external file system.| Modifier and Type | Field and Description |
|---|---|
static FileSystemTransferSystem |
INSTANCE |
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
FileSystemTransferSystem() |
| Modifier and Type | Method and Description |
|---|---|
void |
createBinary(IPath path,
java.io.InputStream source,
IProgressMonitor monitor) |
void |
createFolder(IPath path) |
void |
createText(IPath path,
java.io.InputStream source,
java.lang.String encoding,
IProgressMonitor monitor) |
CDOTransferElement |
getElement(IPath path) |
CDOTransferElement |
getElement(URI uri) |
protected java.io.File |
getFile(IPath path) |
java.lang.String |
getType() |
URI |
getURI(IPath path) |
protected void |
mkDir(java.io.File file) |
protected void |
mkParent(java.io.File file) |
java.lang.String |
toString() |
createModel, getDefaultTransferType, getElement, isReadOnly, provideResourceSet, saveModelspublic static final FileSystemTransferSystem INSTANCE
public static final java.lang.String TYPE
public java.lang.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, java.io.InputStream source, IProgressMonitor monitor)
createBinary in class CDOTransferSystempublic void createText(IPath path, java.io.InputStream source, java.lang.String encoding, IProgressMonitor monitor)
createText in class CDOTransferSystempublic java.lang.String toString()
toString in class java.lang.Objectprotected java.io.File getFile(IPath path)
protected void mkParent(java.io.File file)
protected void mkDir(java.io.File file)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html