1
/*******************************************************************************
2
* Copyright (c) 2011, 2012 Red Hat Inc and Others
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Red Hat Incorporated - initial API and implementation
10
* IBM Corporation - Adapting to ssh
11
*******************************************************************************/
12
package org.eclipse.linuxtools.internal.ssh.proxy;
16
import org.eclipse.core.filesystem.IFileStore;
17
import org.eclipse.core.filesystem.provider.FileSystem;
19
public class SSHFileSystem extends FileSystem {
22
public IFileStore getStore(URI uri) {
23
SSHProxyManager proxy = new SSHProxyManager();
24
return proxy.getFileProxy(uri).getResource(uri.getPath());