org.equanda.util.script
Class FileExtension
java.lang.Object
org.equanda.util.script.FileExtension
public final class FileExtension
- extends Object
FileExtension, FScript extension, file i/o,
stronly based on murlen.util.fscript.BasicIO, but using extension mechanism
and without limit on the number of files.
Note that this only provides very basic IO facilities, meaning line by
line read/write to files.
- int open(string filename,string mode) : opens a file 'filename' for
reading (mode="r") or writing (mode="w") returns an integer which is used in
future calls (-1 for file not found on reading).
- string read(fp) : reads one line from previously openened file
- void write(fp,param...) : writes concatination of all params to one
line of file
- void close(fp) : close the file
- int eof(fp) : check for end of file
- void delete(string filename) : delete a file
- void rename(string from, string to) : rename a file
- Author:
- Joachim Van der Auwera
Method Summary |
static void |
addExtension(murlen.util.fscript.FSFastExtension ext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addExtension
public static void addExtension(murlen.util.fscript.FSFastExtension ext)
Copyright © 2007-2009. All Rights Reserved.