Package com.independentsoft.io.structuredstorage

# Class RootDirectoryEntry

java.lang.Object
com.independentsoft.io.structuredstorage.DirectoryEntry
com.independentsoft.io.structuredstorage.RootDirectoryEntry

All Implemented Interfaces:
  `Comparable<DirectoryEntry>`

public class RootDirectoryEntry extends DirectoryEntry
Represents a root node. RootDirectoryEntry object in a compound file that must be accessed before any other Storage objects and Stream objects are referenced. It is the uppermost parent object in the storage object and stream object hierarchy.

- ## Field Summary

  ### Fields inherited from class com.independentsoft.io.structuredstorage.DirectoryEntry

  `buffer, childSid, classId, color, createdTime, directoryEntries, lastModifiedTime, leftSiblingSid, name, parent, PROPERTY_TYPE, rightSiblingSid, size, startSector, type, userFlags`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DirectoryEntryList`
  `getDirectoryEntries()`
  Gets the directory entries.
  `String`
  `getName()`
  Gets root name name.

  ### Methods inherited from class com.independentsoft.io.structuredstorage.DirectoryEntry

  `compareTo, getClassId, getCreatedTime, getLastModifiedTime, getSize, setClassId, setName`

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

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getName

    public String getName()
    Gets root name name.
    Overrides:
      `getName` in class `DirectoryEntry`
    Returns:
      String value "Root Entry".

  - ### getDirectoryEntries

    public DirectoryEntryList getDirectoryEntries()
    Gets the directory entries.
    Returns:
      the directory entries