public final class MimeTypeConstraint extends RegexConstraint
RegexConstraint
implementation that checks
whether a string is valid MIME type representation.MimeType
,
ConstraintFactory.mimetype()
Modifier and Type | Field and Description |
---|---|
static MimeTypeConstraint |
DEFAULT
MimeTypeConstraint single instance. |
pattern
appendMessageArguments, check, getPattern, getType
validate
getMessageTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessageTemplate
public static final MimeTypeConstraint DEFAULT
MimeTypeConstraint
single instance.Copyright © 2011–2020 FoxLabs. All rights reserved.