Class RemoteFileList

java.lang.Object
org.metricshub.winrm.RemoteFileList

public final class RemoteFileList extends Object
The result of RemoteDirectoryListing.execute(): the matching entries, and the directories that could not be read.
  • Method Details

    • entries

      public List<RemoteFileInfo> entries()
      Get the matching entries, in the order the host walked them: the entries of a directory together, depth-first.
      Returns:
      an unmodifiable list, empty for an empty directory or when nothing matches
    • inaccessible

      public List<String> inaccessible()
      Get the directories that could not be read (typically access denied): their content is missing from entries(), while the walk went on elsewhere.
      Returns:
      an unmodifiable list of paths, empty when the whole tree was read
    • toString

      public String toString()
      Overrides:
      toString in class Object