Class FolderList

java.lang.Object
org.spiderwiz.admin.data.FolderList

@WizSerializable
public class FolderList
extends Object
Holds data that describes file folder content for the use of SpiderAdmin.

The class is used internally by the SpiderAdmin agent and is rarely accessed explicitly. It is documented here for those rare cases.

  • Constructor Details

  • Method Details

    • getFolderEntry

      public List<FolderList.FolderEntry> getFolderEntry()
      Gets the value of the folderEntry property.

      The folderEntry property is a list of entries that describes all the files and sub-folders in this folder.

      Returns:
      the folderEntry property
    • addFolderEntry

      public FolderList addFolderEntry​(String name, boolean type, String modified, int size, double download)
      Adds one entry to the list of entries that describes all the files and sub-folders in this folder.
      Parameters:
      name - file or sub-folder name.
      type - true if this is a sub-folder, false if this is a file.
      modified - a String representing the date and time the file or sub-folder was last modified.
      size - size of the file in bytes.
      download - the estimated download time in seconds of the file. Zero in case this is a sub-folder entry.
      Returns:
      this object.