org.nlogo.api
Class FileIO

java.lang.Object
  extended by org.nlogo.api.FileIO

public final class FileIO
extends Object


Method Summary
static String file2String(String path)
           
static void writeFile(String path, String text)
           
static void writeFile(String path, String text, boolean convertToPlatformLineBreaks)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

file2String

public static String file2String(String path)
                          throws IOException
Throws:
IOException

writeFile

public static void writeFile(String path,
                             String text)
                      throws IOException
Throws:
IOException

writeFile

public static void writeFile(String path,
                             String text,
                             boolean convertToPlatformLineBreaks)
                      throws IOException
Throws:
IOException