Class WatershedInfoFile

java.lang.Object
hec.clientapp.io.WatershedInfoFile

public class WatershedInfoFile extends Object
class that handles the WatershedInfo file.
  • Field Details

  • Constructor Details

    • WatershedInfoFile

      public WatershedInfoFile()
  • Method Details

    • close

      public void close()
    • getWatershedInfoIdentifier

      public Identifier getWatershedInfoIdentifier()
      get the Identifier for the Watershed Info file
      Returns:
      the Watershed Info file Identifier
    • addRecord

      public String addRecord(String action, String comment)
      add a record to the Watershed Info File
      Parameters:
      action -
    • addRecord

      public String addRecord(String action, String comment, boolean prefixNewLine)
    • getWatershedInfoFilename

      public static String getWatershedInfoFilename()
      get the watershed info file.
      Returns:
      the watershed info file path or null if no watershed is opened