tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith R. Bennett (JIRA)" <j...@apache.org>
Subject [jira] Created: (TIKA-36) A convenience method for getting a document's content's text would be helpful.
Date Thu, 27 Sep 2007 17:21:50 GMT
A convenience method for getting a document's content's text would be helpful.
------------------------------------------------------------------------------

                 Key: TIKA-36
                 URL: https://issues.apache.org/jira/browse/TIKA-36
             Project: Tika
          Issue Type: New Feature
          Components: general
    Affects Versions: 0.1-incubator
            Reporter: Keith R. Bennett
            Priority: Minor
             Fix For: 0.1-incubator
         Attachments: tika-36.patch

Currently, to get a parsed document's content value (e.g. title), one must do something like
this:

        Content content = getContent(name);

        return content != null
                ? content.getValue()
                : null;

I'd like to suggest we create a method that does that in one place, so that users do not need
to do that themselves.

Patch coming momentarily...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message