Tabnine Logo
PDFParser.decode
Code IndexAdd Tabnine to your IDE (free)

How to use
decode
method
in
org.apache.tika.parser.pdf.PDFParser

Best Java code snippets using org.apache.tika.parser.pdf.PDFParser.decode (Showing top 6 results out of 315)

origin: apache/tika

private void addMetadata(Metadata metadata, String name, String value) {
  if (value != null) {
    metadata.add(name, decode(value));
  }
}
origin: apache/tika

private void addMetadata(Metadata metadata, Property property, String value) {
  if (value != null) {
    String decoded = decode(value);
    if (property.isMultiValuePermitted() || metadata.get(property) == null) {
      metadata.add(property, decoded);
    }
    //silently skip adding property that already exists if multiple values are not permitted
  }
}
origin: org.apache.tika/tika-parsers

private void addMetadata(Metadata metadata, String name, String value) {
  if (value != null) {
    metadata.add(name, decode(value));
  }
}
origin: com.github.lafa.tikaNoExternal/tika-external

private void addMetadata(Metadata metadata, String name, String value) {
  if (value != null) {
    metadata.add(name, decode(value));
  }
}
origin: org.apache.tika/tika-parsers

private void addMetadata(Metadata metadata, Property property, String value) {
  if (value != null) {
    String decoded = decode(value);
    if (property.isMultiValuePermitted() || metadata.get(property) == null) {
      metadata.add(property, decoded);
    }
    //silently skip adding property that already exists if multiple values are not permitted
  }
}
origin: com.github.lafa.tikaNoExternal/tika-external

private void addMetadata(Metadata metadata, Property property, String value) {
  if (value != null) {
    String decoded = decode(value);
    if (property.isMultiValuePermitted() || metadata.get(property) == null) {
      metadata.add(property, decoded);
    }
    //silently skip adding property that already exists if multiple values are not permitted
  }
}
org.apache.tika.parser.pdfPDFParserdecode

Popular methods of PDFParser

  • <init>
  • parse
  • addMetadata
  • extractDublinCoreListItems
    This tries to read a list from a particular property in XMPSchemaDublinCore. If it can't find the in
  • extractMetadata
  • extractMultilingualItems
    Try to extract all multilingual items from the XMPSchema This relies on the property having a valid
  • getPassword
  • getXMPBagOrSeqList
    As of this writing, XMPSchema can contain bags or sequence lists for some attributes...despite stand
  • handleXFAOnly
  • loadDOM
  • shouldHandleXFAOnly
  • getDocument
  • shouldHandleXFAOnly,
  • getDocument,
  • getPDDocument,
  • setInitializableProblemHandler,
  • setOcrStrategy,
  • setSortByPosition,
  • setTempDirectory

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • String (java.lang)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now