public int compareTo(MimeType mime) {
        return type.compareTo(mime.type);
    }
whether the type is used as a server-side scripting technology
tika-core/src/main/java/org/apache/tika/mime/MimeType.java