Class MimeHelper

java.lang.Object
com.sun.xml.rpc.processor.modeler.wsdl.MimeHelper

public class MimeHelper extends Object
Author:
Vivek Pandey
  • Field Details

  • Constructor Details

    • MimeHelper

      public MimeHelper()
  • Method Details

    • getAttachmentUniqueID

      protected static String getAttachmentUniqueID(String mimePart)
      Parameters:
      mimePart -
      Returns:
      a unique id based on the mime part
    • isMimeTypeBinary

      protected static boolean isMimeTypeBinary(String mimeType)
      Parameters:
      mimeType -
      Returns:
      false if the mime type is text, XML or multipart, true otherwise
    • initMimeTypeToJavaType

      protected static void initMimeTypeToJavaType()