Class DocumentDescriptor


  • public class DocumentDescriptor
    extends Object
    Class DocumentDescriptor
    • Constructor Detail

      • DocumentDescriptor

        public DocumentDescriptor​(POIFSDocumentPath path,
                                  String name)
        Trivial constructor
        Parameters:
        path - the Document path
        name - the Document name
    • Method Detail

      • equals

        public boolean equals​(Object o)
        equality. Two DocumentDescriptor instances are equal if they have equal paths and names
        Overrides:
        equals in class Object
        Parameters:
        o - the object we're checking equality for
        Returns:
        true if the object is equal to this object
      • hashCode

        public int hashCode()
        calculate and return the hashcode
        Overrides:
        hashCode in class Object
        Returns:
        hashcode