public boolean equals(Object o) {
        if (o instanceof Magic) {
            Magic that = (Magic) o;
            return type.equals(that.type) && string.equals(that.string);
        }
        return false;
    }
Defines a magic for a MimeType. A magic is made of one or several
MagicClause.
tika-core/src/main/java/org/apache/tika/mime/Magic.java