ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CTAKES-210) Allow loading of Resources from InputStream instead of physical File
Date Fri, 14 Jun 2013 18:42:20 GMT
Pei Chen created CTAKES-210:
-------------------------------

             Summary: 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

Mime
View raw message