Class MimeTypeValidator
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.validate.MimeTypeValidator
- All Implemented Interfaces:
ValueValidator
Validate the basic format of a the document mime type.
Mime type must consist of type and subtype, separated by a /
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MimeTypeValidator
public MimeTypeValidator()
-
-
Method Details
-
validate
Description copied from interface:ValueValidator
Validates the given value.- Specified by:
validate
in interfaceValueValidator
- Parameters:
mimeType
- the value.- Throws:
XDSMetaDataException
- if the validation failed.
-