You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Pei Chen (JIRA)" <ji...@apache.org> on 2013/06/14 20:42:20 UTC

[jira] [Created] (CTAKES-210) Allow loading of Resources from InputStream instead of physical File

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