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

Class ASCIIFile



  • public class ASCIIFileextends DataFile
    BSD License
    • Constructor Detail

      • ASCIIFile

        public ASCIIFile(File f)
    • Method Detail

      • readLines

        public static String[] readLines(File f)
      • readLine

        public static String readLine(File f,                              int i)
      • readDouble1DArray

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

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

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

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

        public static void write(File f,                         String t)
      • writeDoubleArray

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

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

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

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

        public static void append(File f,                          String t)
      • read

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

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

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

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

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

        public static void main(String[] args)

SCaVis 2.2 © jWork.ORG

Warning: You see this message because an access to the SCaVis documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of SCaVis, please request the full SCaVis membership.

If you are already a full member, please login to the SCaVis member area before visiting this documentation.