docs: public static void main(String[] pArgs) {
          if (pArgs.length > 1) {
              String type = pArgs[0];
              String family = pArgs[1];
              boolean incuded = includes(family, type);
              System.out.println(
                      "Mime type family " + family
                      + (incuded ? " includes " : " does not include ")
                      + "type " + type
              );
          }
          if (pArgs.length > 0) {
              String str = pArgs[0];
  
              if (str.indexOf('/') >= 0) {
                  // MIME
                  String extension = getExtension(str);
                  System.out.println("Default extension for MIME type '" + str + "' is "
                          + (extension != null ? ": '" + extension + "'" : "unknown") + ".");
                  System.out.println("All possible: " + getExtensions(str));
              }
              else {
                  // EXT
                  String mimeType = getMIMEType(str);
                  System.out.println("Default MIME type for extension '" + str + "' is "
                          + (mimeType != null ? ": '" + mimeType + "'" : "unknown") + ".");
                  System.out.println("All possible: " + getMIMETypes(str));
              }
  
              return;
          }
  
          Set set = sMIMEToExt.keySet();
          String[] mimeTypes = new String[set.size()];
          int i = 0;
          for (Iterator iterator = set.iterator(); iterator.hasNext(); i++) {
              String mime = (String) iterator.next();
              mimeTypes[i] = mime;
          }
          Arrays.sort(mimeTypes);
  
          System.out.println("Known MIME types (" + mimeTypes.length + "):");
          for (int j = 0; j < mimeTypes.length; j++) {
              String mimeType = mimeTypes[j];
  
              if (j != 0) {
                  System.out.print(", ");
              }
  
              System.out.print(mimeType);
          }
  
          System.out.println("\n");
  
          set = sExtToMIME.keySet();
          String[] extensions = new String[set.size()];
          i = 0;
          for (Iterator iterator = set.iterator(); iterator.hasNext(); i++) {
              String ext = (String) iterator.next();
              extensions[i] = ext;
          }
          Arrays.sort(extensions);
  
          System.out.println("Known file types (" + extensions.length + "):");
          for (int j = 0; j < extensions.length; j++) {
              String extension = extensions[j];
  
              if (j != 0) {
                  System.out.print(", ");
              }
  
              System.out.print(extension);
          }
          System.out.println();
      }