org.eclipse.emf.emfstore.internal.server.storage
Class ServerSpaceFileURIHandler
java.lang.Object
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl
org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl
org.eclipse.emf.emfstore.internal.server.storage.ServerSpaceFileURIHandler
- All Implemented Interfaces:
- org.eclipse.emf.ecore.resource.URIHandler
public class ServerSpaceFileURIHandler
- extends org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl
Handler for serverspace file URIs. Adds functionality for also deleting project folder.
- 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 |
ServerSpaceFileURIHandler
public ServerSpaceFileURIHandler(HashSet<String> extensions)
- Constructor for
ServerSpaceFileURIHandler.
- 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.