|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.io.BasinsLogReader
public class BasinsLogReader
This Class reads the .log file where locations of previously extracted basins are stored
| Constructor Summary | |
|---|---|
BasinsLogReader(java.io.File bl)
Creates a new instance of BasinsLogReader |
|
| Method Summary | |
|---|---|
void |
addBasinToFile(java.lang.String newBasin)
Appends a new x,y and description for a basin outlet to the .log file |
java.lang.String[] |
getPresetBasins()
This method delivers the elements in the .log file as an array of Strings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasinsLogReader(java.io.File bl)
throws java.io.IOException
bl - A file pointing to the location of the .log file
java.io.IOException - Captures problems in the file format| Method Detail |
|---|
public java.lang.String[] getPresetBasins()
public void addBasinToFile(java.lang.String newBasin)
throws java.io.IOException
newBasin - A String containing a new x,y and description for a basin outlet to be written into the .log file
java.io.IOException - Captures errors during .log file rewriting.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.