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

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1-incubating
    • 0.1-incubating
    • general
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: