Klasse RecursiveShow

Alle implementierten Schnittstellen:
Serializable, Cloneable, Iterable<ShowRec>, Collection<ShowRec>, Deque<ShowRec>, List<ShowRec>, Queue<ShowRec>, SequencedCollection<ShowRec>

public final class RecursiveShow extends Show
The show is created from a text file. It may contain references to directories or other text files, which are resolved to one big show.
Siehe auch:
  • Konstruktordetails

    • RecursiveShow

      public RecursiveShow(ShowRec showRec)
      Resolve directories and shows in the show given as parameter.
      Parameter:
      showRec - the path of root show of the tree of directories
  • Methodendetails

    • add

      public boolean add(ShowRec showRec)
      Add a showRec to this show. If this.recursive and the showRec points to a directory or to a text file, resolve the referenced files. Regard a filter.
      Angegeben von:
      add in Schnittstelle Collection<ShowRec>
      Angegeben von:
      add in Schnittstelle Deque<ShowRec>
      Angegeben von:
      add in Schnittstelle List<ShowRec>
      Angegeben von:
      add in Schnittstelle Queue<ShowRec>
      Setzt außer Kraft:
      add in Klasse LinkedList<ShowRec>
      Parameter:
      showRec - to be added
      Gibt zurück:
      if the record has been added, which is the case (true).
    • filePath

      public Path filePath()
      This RecursiveShow is created from a ShowRec. To call this method make sense only on top level, when ShowRec is a Path.
      Angegeben von:
      filePath in Klasse Show
      Gibt zurück:
      the Path of the TxtShow or null depending on the kind of ShowRec this RecursiveShow has been created from.
    • dirPath

      public Path dirPath()
      This RecursiveShow is created from a ShowRec. To call this method make sense only on top level, when ShowRec is a Path.
      Angegeben von:
      dirPath in Klasse Show
      Gibt zurück:
      the directory where the TxtShow residesPath or null depending on the kind of ShowRec from which this RecursiveShow has been created.