Hi, would it be possible to add new method to /src/main/java/org/apache/tika/metadata/Metadata.java ?
There is a method 'getValues' to get String array value but none to set one. A method 'add' only extends an existing String array and setting new multivalue is not very effective. /** * Set metadata name/multivalue. Associate the specified multivalue to the specified * metadata name. If some previous values were associated to this name, they * are removed. * * @param name * the metadata name. * @param value * the metadata multivalue. */ public void setValues(String name, String[] value) { metadata.put(name, value); } BR, Marek Sikl