Documentation of 'org.ejml.ops.ReadCsv' Java class
ReadCsv
org.ejml.ops

Class ReadCsv

  • Direct Known Subclasses:
    ReadMatrixCsv


    public class ReadCsv
    extends java.lang.Object

    Base class for reading CSV formatted files. CSV stands for column-space-value where text strings are separated by a space character. The values are typically stored in a human readable format. The encoded text for a single variable is referred to as a word.

    Comments are allowed and identified by starting a line with the comment character. The comment character is user configurable. By default there is no comment character.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ReadCsv(java.io.InputStream in)
      Constructor for ReadCsv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getLineNumber()
      Returns how many lines have been read.
      java.io.BufferedReader getReader()
      Returns the reader that it is using internally.
      void setComment(char comment)
      Sets the comment character.
      • Methods inherited from class java.lang.Object

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

      • ReadCsv

        public ReadCsv(java.io.InputStream in)
        Constructor for ReadCsv
        Parameters:
        in - Where the input comes from.
    • Method Detail

      • setComment

        public void setComment(char comment)
        Sets the comment character. All lines that start with this character will be ignored.
        Parameters:
        comment - The new comment character.
      • getLineNumber

        public int getLineNumber()
        Returns how many lines have been read.
        Returns:
        Line number
      • getReader

        public java.io.BufferedReader getReader()
        Returns the reader that it is using internally.
        Returns:
        The reader.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.