You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Marek Sikl <si...@comin.cz> on 2009/01/06 09:56:29 UTC
Metadata
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 but none to set one.
/**
* 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
Re: Metadata
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Tue, Jan 6, 2009 at 9:56 AM, Marek Sikl <si...@comin.cz> wrote:
> 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 but none to set one.
Looks like a reasonable addition to me. Can you file this as a feature
request in Jira? That way we can better track the change.
BR,
Jukka Zitting