public interface ResourceContentService
| Modifier and Type | Method and Description |
|---|---|
elemental2.promise.Promise<String> |
get(String uri)
Returns a resource's content
|
elemental2.promise.Promise<String> |
get(String uri,
ResourceContentOptions options)
Returns a resource's content
|
elemental2.promise.Promise<String[]> |
list(String pattern)
List files from the project/workspace where the editor is running
|
elemental2.promise.Promise<String> get(String uri)
uri - the resource URI relative to the workspace/projectelemental2.promise.Promise<String> get(String uri, ResourceContentOptions options)
uri - The resource URI relative to the workspace/projectoptions - Options when retrieving the resource contentCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.