protected void createCommaSeparatedArray(String tikaKey, String ns, String propertyName,
                                             int arrayType) throws XMPException {
        String value = metadata.get(tikaKey);
        if (value != null && value.length() > 0) {
            XMPUtils.separateArrayItems(meta, ns, propertyName, value,
                    new PropertyOptions(arrayType), false);
        }
    }
Creates an array property from a comma separated list.

@param tikaKey      Key in the Tika metadata map
@param ns           namespace the property should be created in
@param propertyName name of the property
@param arrayType    depicts which kind of array shall be created
@throws XMPException if the property could not be created
tika-xmp/src/main/java/org/apache/tika/xmp/convert/AbstractConverter.java