public class KeelFile
extends java.lang.Object
Constructor and Description |
---|
KeelFile() |
Modifier and Type | Method and Description |
---|---|
static void |
append(java.lang.String nombreFichero,
java.lang.String cadena)
Append text to a Keel-style file.
|
static void |
copy(java.lang.String fromFileName,
java.lang.String toFileName)
Copy a Keel-style file to another.
|
static java.lang.String |
read(java.lang.String nombreFichero)
Read a Keel-style file.
|
static void |
write(java.lang.String nombreFichero,
java.lang.String cadena)
Write in Keel-style a file.
|
public static java.lang.String read(java.lang.String nombreFichero)
nombreFichero
- Name of the file.public static void write(java.lang.String nombreFichero, java.lang.String cadena)
nombreFichero
- Name of the file to be writed.cadena
- Text to be written.public static void append(java.lang.String nombreFichero, java.lang.String cadena)
nombreFichero
- Name of the file.cadena
- text of the appended file.public static void copy(java.lang.String fromFileName, java.lang.String toFileName) throws java.io.IOException
fromFileName
- Name of the original file.toFileName
- Name of the destination file.java.io.IOException
- Can not read the files.