public class ASCIIFile extends DataFile
Constructor and Description |
---|
ASCIIFile(java.io.File f) |
Modifier and Type | Method and Description |
---|---|
static void |
append(java.io.File f,
java.lang.String t) |
static void |
concatenate(java.io.File f1,
java.io.File f2) |
static void |
main(java.lang.String[] args) |
java.lang.String |
read()
Read an ASCII File
|
static java.lang.String |
read(java.io.File f) |
static double[] |
readDouble1DArray(java.io.File f) |
static double[][] |
readDoubleArray(java.io.File f) |
static int[] |
readInt1DArray(java.io.File f) |
static int[][] |
readIntArray(java.io.File f) |
static java.lang.String |
readLine(java.io.File f,
int i) |
java.lang.String |
readLine(int i)
Read only one line in an ASCII File
|
java.lang.String[] |
readLines()
Read lines of an ASCII File
|
static java.lang.String[] |
readLines(java.io.File f) |
static void |
write(java.io.File f,
java.lang.String t) |
void |
write(java.lang.String text,
boolean append)
Write a text in an ASCII File
|
static void |
writeDoubleArray(java.io.File f,
double[] array) |
static void |
writeDoubleArray(java.io.File f,
double[][] array) |
static void |
writeIntArray(java.io.File f,
int[] array) |
static void |
writeIntArray(java.io.File f,
int[][] array) |
public static java.lang.String read(java.io.File f)
public static java.lang.String[] readLines(java.io.File f)
public static java.lang.String readLine(java.io.File f, int i)
public static double[] readDouble1DArray(java.io.File f)
public static double[][] readDoubleArray(java.io.File f)
public static int[] readInt1DArray(java.io.File f)
public static int[][] readIntArray(java.io.File f)
public static void write(java.io.File f, java.lang.String t)
public static void writeDoubleArray(java.io.File f, double[] array)
public static void writeDoubleArray(java.io.File f, double[][] array)
public static void writeIntArray(java.io.File f, int[] array)
public static void writeIntArray(java.io.File f, int[][] array)
public static void append(java.io.File f, java.lang.String t)
public java.lang.String read()
public java.lang.String[] readLines()
public java.lang.String readLine(int i)
i
- line indexpublic void write(java.lang.String text, boolean append)
text
- Stringappend
- booleanpublic static void concatenate(java.io.File f1, java.io.File f2)
public static void main(java.lang.String[] args)
JHepSim. A part of HSTOOLS. version-1.2