Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-36

A convenience method for getting a document's content's text would be helpful.

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.1-incubating
    • Component/s: general
    • Labels:
      None

      Description

      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...

        Attachments

        1. tika-36.patch
          0.9 kB
          Keith Bennett

          Activity

            People

            • Assignee:
              chrismattmann Chris A. Mattmann
              Reporter:
              kbennett Keith Bennett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: