String mime = getMimeType(); int i = mime.indexOf(";"); if (i != -1) mime = mime.substring(0, i);
isMimeTypeEqual(String mimeType){  // FIXME: Need to handle default attributes and parameters  return(this.mimeType.equals(mimeType));}