Class HecDataTypeFactory

java.lang.Object
hec.gfx2d.DataTypeFactory
hec.clientapp.model.HecDataTypeFactory

public class HecDataTypeFactory extends DataTypeFactory
  • Constructor Details

    • HecDataTypeFactory

      public HecDataTypeFactory()
      Constructor for the DataTypeFactory object
  • Method Details

    • getFileWriter

      protected BufferedWriter getFileWriter()
      Overrides:
      getFileWriter in class DataTypeFactory
    • getFileName

      public String getFileName()
      Overrides:
      getFileName in class DataTypeFactory
      Returns:
      The FileName value
    • readFile

      protected boolean readFile()
      Reads all of the DataType properties. First it reades from the default plot line file stored in the JARS "hec/gfx2d/plotLines", then it traverses the various preferences directories i.e. CWMS_ALL -> USER_WATERSHED
      Overrides:
      readFile in class DataTypeFactory
      Returns:
      true if succssfull otherwise false.