ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-210) Allow loading of Resources from InputStream instead of physical File
Date Thu, 06 Feb 2014 21:18:22 GMT

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

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

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

New code for reading fragment file as stream (ala CTAKES-210) and consistent cue word 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 was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message