public abstract class AbstractResourceExecutor extends Object implements IResourceExecutor
| Constructor and Description |
|---|
AbstractResourceExecutor() |
| Modifier and Type | Method and Description |
|---|---|
String |
createResourcePath(String root,
String module)
Creates the resource path.
|
String |
createResourcePath(String root,
String module,
String extension)
Creates the resource path.
|
boolean |
existResource(String root,
String module)
Exist resource.
|
boolean |
existResource(String root,
String module,
String extension)
Exist resource.
|
ICollection |
getCollection(String root,
String module)
Gets the collection.
|
protected IRepository |
getRepository()
Gets the repository.
|
IResource |
getResource(String root,
String module)
Gets the resource.
|
IResource |
getResource(String root,
String module,
String extension)
Gets the resource.
|
byte[] |
getResourceContent(String root,
String module)
Gets the resource content.
|
byte[] |
getResourceContent(String root,
String module,
String extension)
Gets the resource content.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getTypeprotected IRepository getRepository()
public byte[] getResourceContent(String root, String module) throws RepositoryException
IResourceExecutorgetResourceContent in interface IResourceExecutorroot - the rootmodule - the moduleRepositoryException - the repository exceptionpublic byte[] getResourceContent(String root, String module, String extension) throws RepositoryException
IResourceExecutorgetResourceContent in interface IResourceExecutorroot - the rootmodule - the moduleextension - the extensionRepositoryException - the repository exceptionpublic ICollection getCollection(String root, String module) throws RepositoryException
IResourceExecutorgetCollection in interface IResourceExecutorroot - the rootmodule - the moduleRepositoryException - the repository exceptionpublic IResource getResource(String root, String module) throws RepositoryException
IResourceExecutorgetResource in interface IResourceExecutorroot - the rootmodule - the moduleRepositoryException - the repository exceptionpublic IResource getResource(String root, String module, String extension) throws RepositoryException
IResourceExecutorgetResource in interface IResourceExecutorroot - the rootmodule - the moduleextension - the extensionRepositoryException - the repository exceptionpublic boolean existResource(String root, String module) throws RepositoryException
IResourceExecutorexistResource in interface IResourceExecutorroot - the rootmodule - the moduleRepositoryException - the repository exceptionpublic boolean existResource(String root, String module, String extension) throws RepositoryException
IResourceExecutorexistResource in interface IResourceExecutorroot - the rootmodule - the moduleextension - the extensionRepositoryException - the repository exceptionpublic String createResourcePath(String root, String module)
IResourceExecutorcreateResourcePath in interface IResourceExecutorroot - the rootmodule - the modulepublic String createResourcePath(String root, String module, String extension)
IResourceExecutorcreateResourcePath in interface IResourceExecutorroot - the rootmodule - the moduleextension - the extensionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.