public final class MimeTypeHandler extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getMimeType(String artifactType)
Return the mimetype given a artifact type.
|
static int |
getMimeTypesSize()
Returns the number of MimeTypes that has been defined.
|
public static String getMimeType(String artifactType)
artifactType
- the artifact type such as "block", "jar", etc.public static int getMimeTypesSize()
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.