@Specializes
public class ResourceFinderSpecialized
extends org.gcube.data.analysis.tabulardata.cube.data.ResourceList
| Constructor and Description |
|---|
ResourceFinderSpecialized(org.gcube.smartgears.context.application.ApplicationContext context) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getResourcesPath(Pattern pattern)
for all elements of java.class.path get a Collection of resources Pattern
pattern = Pattern.compile(".*"); gets all resources
|
InputStream |
getStream(String file) |
@Inject public ResourceFinderSpecialized(org.gcube.smartgears.context.application.ApplicationContext context)
public InputStream getStream(String file)
getStream in interface org.gcube.data.analysis.tabulardata.cube.data.ResourceFindergetStream in class org.gcube.data.analysis.tabulardata.cube.data.ResourceListpublic Collection<String> getResourcesPath(Pattern pattern)
getResourcesPath in interface org.gcube.data.analysis.tabulardata.cube.data.ResourceFindergetResourcesPath in class org.gcube.data.analysis.tabulardata.cube.data.ResourceListpattern - the pattern to matchCopyright © 2018. All Rights Reserved.