|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.pado.dv.DVIOHelpers
public class DVIOHelpers
This class contains small helper functions that are the same in each of the three executables. In order to keep the code coherent and small, they have been moved to this auxiliary class, which only contains static methods
| Constructor Summary | |
|---|---|
DVIOHelpers()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
affix(java.lang.String cs,
java.lang.String val)
Creates a filename by combining the name of a context specification and the name of a path value function. |
static void |
testLocation(java.lang.String filename)
Tests if the given filename is good for writing by creating a file there and erasing it afterwards. |
static void |
writeToFile(java.lang.String filename,
java.lang.String string)
Opens a file, writes the string to it, closes the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DVIOHelpers()
| Method Detail |
|---|
public static void writeToFile(java.lang.String filename,
java.lang.String string)
throws java.io.IOException
java.io.IOException
public static void testLocation(java.lang.String filename)
throws java.io.IOException
java.io.IOException
public static java.lang.String affix(java.lang.String cs,
java.lang.String val)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||