org.eclipse.emf.emfstore.internal.client.provider
Class ProjectSpaceFileURIHandler
java.lang.Object
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl
org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl
org.eclipse.emf.emfstore.internal.client.provider.ProjectSpaceFileURIHandler
- All Implemented Interfaces:
- org.eclipse.emf.ecore.resource.URIHandler
public class ProjectSpaceFileURIHandler
- extends org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl
Handler for projectspace file URIs. Adds functionality for successfully deleting temp folders.
- Author:
- jfaltermeier
Fields inherited from interface org.eclipse.emf.ecore.resource.URIHandler |
DEFAULT_HANDLERS |
Method Summary |
boolean |
canHandle(org.eclipse.emf.common.util.URI uri)
|
void |
delete(org.eclipse.emf.common.util.URI uri,
Map<?,?> options)
|
Methods inherited from class org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl |
createInputStream, createOutputStream, exists, getAttributes, setAttributes |
Methods inherited from class org.eclipse.emf.ecore.resource.impl.URIHandlerImpl |
contentDescription |
ProjectSpaceFileURIHandler
public ProjectSpaceFileURIHandler(HashSet<String> extensions)
- Constructor for
ProjectSpaceFileURIHandler
.
- Parameters:
extensions
- set of all file extensions this handler should handle.
canHandle
public boolean canHandle(org.eclipse.emf.common.util.URI uri)
- Specified by:
canHandle
in interface org.eclipse.emf.ecore.resource.URIHandler
- Overrides:
canHandle
in class org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl
delete
public void delete(org.eclipse.emf.common.util.URI uri,
Map<?,?> options)
throws IOException
- Specified by:
delete
in interface org.eclipse.emf.ecore.resource.URIHandler
- Overrides:
delete
in class org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl
- Throws:
IOException
Copyright © 2015. All Rights Reserved.