org.apache.poi.poifs.filesystem

## Class DocumentDescriptor

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

-     public class DocumentDescriptor
      extends java.lang.Object

  Class DocumentDescriptor
  Version:
    %I%, %G%
  Author:
    Marc Johnson (mjohnson at apache dot org)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DocumentDescriptor(POIFSDocumentPath path, java.lang.String name)` Trivial constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)` equality.
    `int` | `hashCode()` calculate and return the hashcode
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### DocumentDescriptor

          public DocumentDescriptor(POIFSDocumentPath path,
                                    java.lang.String name)

      Trivial constructor
      Parameters:
        `path` - the Document path
        `name` - the Document name

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object o)

      equality. Two DocumentDescriptor instances are equal if they have equal paths and names
      Overrides:
        `equals` in class `java.lang.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 `java.lang.Object`
      Returns:
        hashcode

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.