IdentifyMimeType defines two property descriptors MIME_CONFIG_BODY and
MIME_CONFIG_FILE where either one is used for obtaining a MIME
configuration. Couldn't these be combined into one property descriptor
using external resources which would also allow for loading the
configuration from a URL?
e.g.
public static final PropertyDescriptor MIME_CONFIG_CONTENT = new
PropertyDescriptor.Builder()
.name("Mime config content)
.description("A URL or file path to the Mime config file or the
actual Mime config file content")
.required(true)
.identifiesExternalResource(ResourceCardinality.SINGLE,
ResourceType.FILE, ResourceType.URL, ResourceType.TEXT)
.addValidator(StandardValidators.NON_BLANK_VALIDATOR)
.build();