public String get(final String name) {
        String[] values = metadata.get(name);
        if (values == null) {
            return null;
        } else {
            return values[0];
        }
    }
Get the value associated to a metadata name. If many values are assiociated
to the specified name, then the first one is returned.

@param name of the metadata.
@return the value associated to the specified metadata name.
tika-core/src/main/java/org/apache/tika/metadata/Metadata.java