[ 
https://issues.apache.org/jira/browse/CTAKES-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893889#comment-13893889
 ] 

ASF subversion and git services commented on CTAKES-210:
--------------------------------------------------------

Commit 1565462 from [~tmill] in branch 'ctakes/trunk'
[ https://svn.apache.org/r1565462 ]

CTAKES-94 and CTAKES-210: Fixe semantic classes to use InputStream and to read 
a file instead of a directory.

> 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 was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to