| java.lang.Object com.vividsolutions.jump.util.FileUtil
FileUtil | public class FileUtil (Code) | | File-related utility functions.
|
setContents | public static void setContents(String textFileName, String contents) throws IOException(Code) | | Saves the String to a file with the given filename.
Parameters: textFileName - the pathname of the file to create (or overwrite) Parameters: contents - the data to save throws: IOException - if an I/O error occurs. |
setContents | public static void setContents(String textFileName, List lines) throws IOException(Code) | | Saves the List of Strings to a file with the given filename.
Parameters: textFileName - the pathname of the file to create (or overwrite) Parameters: lines - the Strings to save as lines in the file throws: IOException - if an I/O error occurs. |
|
|