You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Suman Saurabh (JIRA)" <ji...@apache.org> on 2014/06/22 13:10:24 UTC
[jira] [Created] (STANBOL-1355) DataFileProvider provides data
files as InputStreams as well as return the location of data files to OSGi
components.
Suman Saurabh created STANBOL-1355:
--------------------------------------
Summary: DataFileProvider provides data files as InputStreams as well as return the location of data files to OSGi components.
Key: STANBOL-1355
URL: https://issues.apache.org/jira/browse/STANBOL-1355
Project: Stanbol
Issue Type: Improvement
Components: Commons
Affects Versions: commons-0.11.0
Reporter: Suman Saurabh
Priority: Minor
Fix For: commons-0.11.0
Currently the DataFileProvider only supports requests for resources. If a specific resource is available the caller gets an InputStream for that Resource. Otherwise a IOException is thrown.
Here the proposal is to add :
{code:xml}
DataFileProvider (interface)
URL getInputStream(
String bundleSymbolicName,
String filename,
Map<String,String> comments) throws IOException;
{code}
Service that allows to return the location of data files to OSGi components.
Intended Usage:
Jira issue [stanbol-1007|https://issues.apache.org/jira/browse/STANBOL-1007] uses CMU Sphinx api. Sphinx needs the URL to load the model files. No such api has been provided yet by Sphinx to load the model as Stream.
--
This message was sent by Atlassian JIRA
(v6.2#6252)