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, saveModels
public static final FileSystemTransferSystem INSTANCE
public static final String TYPE
public String getType()
getType
in class CDOTransferSystem
public URI getURI(IPath path)
getURI
in class CDOTransferSystem
public CDOTransferElement getElement(IPath path)
getElement
in class CDOTransferSystem
public CDOTransferElement getElement(URI uri)
getElement
in class CDOTransferSystem
public void createFolder(IPath path)
createFolder
in class CDOTransferSystem
public void createBinary(IPath path, InputStream source, IProgressMonitor monitor)
createBinary
in class CDOTransferSystem
public void createText(IPath path, InputStream source, String encoding, IProgressMonitor monitor)
createText
in class CDOTransferSystem
protected void mkParent(File file)
protected void mkDir(File file)
Copyright (c) 2014 Eike Stepper (Berlin, 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