Class DocumentDescriptor

java.lang.Object
org.apache.poi.poifs.filesystem.DocumentDescriptor

public class DocumentDescriptor extends Object
Class DocumentDescriptor
Version:
%I%, %G%
Author:
Marc Johnson (mjohnson at apache dot org)
  • Constructor Details

    • DocumentDescriptor

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

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object