public String toString() {
        StringBuilder stringBuilder = new StringBuilder();
        String[] names = names();
        for (String name : names) {
            String[] values = _getValues(name);
            for (String value : values) {
                if (stringBuilder.length() > 0) {
                    stringBuilder.append(" ");
                }
                stringBuilder.append(name).append("=").append(value);
            }
        }
        return stringBuilder.toString();
    }
Returns the number of metadata names in this metadata.

@return number of metadata names
tika-core/src/main/java/org/apache/tika/metadata/Metadata.java