Package com._1c.g5.modeling.resource
Class ClassPathUriHandler
- java.lang.Object
-
- org.eclipse.emf.ecore.resource.impl.URIHandlerImpl
-
- com._1c.g5.modeling.resource.ClassPathUriHandler
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.resource.URIHandler
public class ClassPathUriHandler extends org.eclipse.emf.ecore.resource.impl.URIHandlerImpl
РеализацияURIHandler
, обрабатывающая URI, относящиеся к схеме 'classpath' и ищущая ресурсы в classpath.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASSPATH_SCHEME
-
Constructor Summary
Constructors Constructor Description ClassPathUriHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canHandle(org.eclipse.emf.common.util.URI uri)
InputStream
createInputStream(org.eclipse.emf.common.util.URI uri, Map<?,?> options)
OutputStream
createOutputStream(org.eclipse.emf.common.util.URI uri, Map<?,?> options)
void
delete(org.eclipse.emf.common.util.URI uri, Map<?,?> options)
boolean
exists(org.eclipse.emf.common.util.URI uri, Map<?,?> options)
protected ClassLoader
getClassLoader()
-
-
-
Field Detail
-
CLASSPATH_SCHEME
public static final String CLASSPATH_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
canHandle
public boolean canHandle(org.eclipse.emf.common.util.URI uri)
- Specified by:
canHandle
in interfaceorg.eclipse.emf.ecore.resource.URIHandler
- Overrides:
canHandle
in classorg.eclipse.emf.ecore.resource.impl.URIHandlerImpl
-
createInputStream
public InputStream createInputStream(org.eclipse.emf.common.util.URI uri, Map<?,?> options) throws IOException
- Specified by:
createInputStream
in interfaceorg.eclipse.emf.ecore.resource.URIHandler
- Overrides:
createInputStream
in classorg.eclipse.emf.ecore.resource.impl.URIHandlerImpl
- Throws:
IOException
-
createOutputStream
public OutputStream createOutputStream(org.eclipse.emf.common.util.URI uri, Map<?,?> options) throws IOException
- Specified by:
createOutputStream
in interfaceorg.eclipse.emf.ecore.resource.URIHandler
- Overrides:
createOutputStream
in classorg.eclipse.emf.ecore.resource.impl.URIHandlerImpl
- Throws:
IOException
-
delete
public void delete(org.eclipse.emf.common.util.URI uri, Map<?,?> options) throws IOException
- Specified by:
delete
in interfaceorg.eclipse.emf.ecore.resource.URIHandler
- Overrides:
delete
in classorg.eclipse.emf.ecore.resource.impl.URIHandlerImpl
- Throws:
IOException
-
exists
public boolean exists(org.eclipse.emf.common.util.URI uri, Map<?,?> options)
- Specified by:
exists
in interfaceorg.eclipse.emf.ecore.resource.URIHandler
- Overrides:
exists
in classorg.eclipse.emf.ecore.resource.impl.URIHandlerImpl
-
getClassLoader
protected ClassLoader getClassLoader()
-
-