Package com.independentsoft.io.structuredstorage

# Class Storage

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

All Implemented Interfaces:
  `Comparable<DirectoryEntry>`

public class Storage extends DirectoryEntry
Contains collection of DirectoryEntry. Storage is analogous to a file system directory. The parent object of a storage object must be another storage object or the RootDirectoryEntry.

- ## 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`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Storage()`
  Initializes a new instance of the Storage class.
  `Storage​(String name)`
  Initializes a new instance of the Storage class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DirectoryEntryList`
  `getDirectoryEntries()`
  Gets collection of DirectoryEntry.

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

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

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

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

- ## Constructor Details

  - ### Storage

    public Storage()
    Initializes a new instance of the Storage class.

  - ### Storage

    public Storage​(String name)
    Initializes a new instance of the Storage class.
    Parameters:
      `name` - Storage name.

- ## Method Details

  - ### getDirectoryEntries

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