Documentation of 'jhplot.math.io.ASCIIFile' Java class.
ASCIIFile
jhplot.math.io

Class ASCIIFile



  • public class ASCIIFile
    extends DataFile
    BSD License
    • Constructor Summary

      Constructors 
      Constructor and Description
      ASCIIFile(java.io.File f) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      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) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ASCIIFile

        public ASCIIFile(java.io.File f)
    • Method Detail

      • read

        public static java.lang.String read(java.io.File f)
      • readLines

        public static java.lang.String[] readLines(java.io.File f)
      • readLine

        public static java.lang.String readLine(java.io.File f,
                                                int i)
      • readDouble1DArray

        public static double[] readDouble1DArray(java.io.File f)
      • readDoubleArray

        public static double[][] readDoubleArray(java.io.File f)
      • readInt1DArray

        public static int[] readInt1DArray(java.io.File f)
      • readIntArray

        public static int[][] readIntArray(java.io.File f)
      • write

        public static void write(java.io.File f,
                                 java.lang.String t)
      • writeDoubleArray

        public static void writeDoubleArray(java.io.File f,
                                            double[] array)
      • writeDoubleArray

        public static void writeDoubleArray(java.io.File f,
                                            double[][] array)
      • writeIntArray

        public static void writeIntArray(java.io.File f,
                                         int[] array)
      • writeIntArray

        public static void writeIntArray(java.io.File f,
                                         int[][] array)
      • append

        public static void append(java.io.File f,
                                  java.lang.String t)
      • read

        public java.lang.String read()
        Read an ASCII File
        Returns:
        String
      • readLines

        public java.lang.String[] readLines()
        Read lines of an ASCII File
        Returns:
        an Array of String
      • readLine

        public java.lang.String readLine(int i)
        Read only one line in an ASCII File
        Parameters:
        i - line index
        Returns:
        String
      • write

        public void write(java.lang.String text,
                          boolean append)
        Write a text in an ASCII File
        Parameters:
        text - String
        append - boolean
      • concatenate

        public static void concatenate(java.io.File f1,
                                       java.io.File f2)
      • main

        public static void main(java.lang.String[] args)

DMelt 3.0 © DataMelt by jWork.ORG