You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "James Joseph Masanz (JIRA)" <ji...@apache.org> on 2013/08/26 21:51:51 UTC
[jira] [Resolved] (CTAKES-210) Allow loading of Resources from
InputStream instead of physical File
[ https://issues.apache.org/jira/browse/CTAKES-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Joseph Masanz resolved CTAKES-210.
----------------------------------------
Resolution: Fixed
sentence detector works now also loading from inputstream instead of physical file
> Allow loading of Resources from InputStream instead of physical File
> --------------------------------------------------------------------
>
> Key: CTAKES-210
> URL: https://issues.apache.org/jira/browse/CTAKES-210
> Project: cTAKES
> Issue Type: Improvement
> Components: ctakes-core
> Affects Versions: 3.0-incubating
> Reporter: Pei Chen
> Priority: Minor
> Fix For: 3.1
>
>
> File or Url.getRawPath() became problematic if they are read in from the jars from the classpath and which couldn't resolve to a physical File.
> a. Suggestion: Wherever possible, replace loading of resouces via java.io.File with InputStream instead. . We can add a new method in the FileLocator util and deprecate the old File method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira