Class ContentType

java.lang.Object
org.docx4j.openpackaging.contenttype.ContentType

public final class ContentType
extends java.lang.Object
Represents a MIME ContentType value.
Version:
0.1
Author:
Julien Chable
  • Constructor Summary

    Constructors 
    Constructor Description
    ContentType​(java.lang.String contentType)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ContentType

      public ContentType​(java.lang.String contentType)
  • Method Details

    • toString

      public final java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object