类 CSVRecordParser


  • public class CSVRecordParser
    extends java.lang.Object
    Parses a single record in a CSV file into an array of Strings.
    作者:
    Martin Davis
    • 构造器概要

      构造器 
      构造器 说明
      CSVRecordParser()
      Creates a new parser.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String[] parse​(java.lang.String record)
      Parses a single record of a CSV file.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • CSVRecordParser

        public CSVRecordParser()
        Creates a new parser.
    • 方法详细资料

      • parse

        public java.lang.String[] parse​(java.lang.String record)
        Parses a single record of a CSV file.
        参数:
        record -
        返回:
        an array of the fields in the record
        抛出:
        java.lang.IllegalArgumentException - if the parsing of a field fails