/** | |
* <copyright> | |
* | |
* Copyright (c) 2008-2010 See4sys 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 | |
* | |
* Contributors: | |
* See4sys - Initial API and implementation | |
* | |
* </copyright> | |
*/ | |
package org.eclipse.sphinx.emf.internal.filesystem; | |
import java.net.URI; | |
import org.eclipse.core.filesystem.IFileStore; | |
import org.eclipse.core.filesystem.provider.FileSystem; | |
/** | |
* This file system enables links on plug-in resources to be created, e.g. platform:/plugin/project/file.txt | |
*/ | |
public class PlatformURIFileSystem extends FileSystem { | |
/* | |
* @see org.eclipse.core.filesystem.provider.FileSystem#getStore(java.net.URI) | |
*/ | |
@Override | |
public IFileStore getStore(URI uri) { | |
return new PlatformURIFileStore(uri); | |
} | |
} |