Class TypeMatch
- java.lang.Object
-
- com.levigo.jadice.server.nodes.worker.rules.TypeMatch
-
public class TypeMatch extends Object
A match for a single mime-type.
-
-
Constructor Summary
Constructors Constructor Description TypeMatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMimeType()
boolean
matches(MimeType providedType)
void
setMimeType(String mimeType)
-
-
-
Method Detail
-
matches
public boolean matches(MimeType providedType)
-
setMimeType
public void setMimeType(String mimeType) throws MimeTypeParseException
- Throws:
MimeTypeParseException
-
getMimeType
public String getMimeType()
-
-