List of usage examples for org.apache.poi POIDocument getDocumentSummaryInformation
public DocumentSummaryInformation getDocumentSummaryInformation()
From source file:no.trank.openpipe.parse.ms.POIUtils.java
License:Apache License
/** * Exctracts all properties of primitive type, String or Date from the document's summary information * and document summary information.//from w ww . j a va 2s .co m * * @param doc the poi document * @return the properties */ public static Map<String, String> getProperties(POIDocument doc) { Map<String, String> map = new HashMap<String, String>(); addProperties(map, doc.getSummaryInformation()); addProperties(map, doc.getDocumentSummaryInformation()); return map; }