org.jzy3d.io
Class SimpleFile
java.lang.Object
org.jzy3d.io.SimpleFile
public class SimpleFile
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFile
public SimpleFile()
write
public static void write(String content,
String file)
throws Exception
- Throws:
Exception
createParentFoldersIfNotExist
public static void createParentFoldersIfNotExist(String file)
readFile
public static List<String> readFile(File file)
throws IOException
- Throws:
IOException
read
public static List<String> read(String filename)
throws IOException
- Throws:
IOException
readAsString
public static String readAsString(String filename)
throws Exception
- Throws:
Exception
readAsString
public static String readAsString(String filename,
String newLineString)
throws IOException
- Throws:
IOException
isYounger
public static boolean isYounger(String file1,
String file2)
throws IOException
- Return true if file1 is younger than file2, meaning it was last modified after file2.
Always return false if file2 does not exist.
Always return true if file1 does not exist.
- Throws:
IOException
Copyright © 2013. All rights reserved.