Class UNSPSCReader


  • public class UNSPSCReader
    extends CSVReader
    • Constructor Detail

      • UNSPSCReader

        public UNSPSCReader​(Media media,
                            java.lang.String encoding,
                            boolean skipRootClasses)
                     throws java.io.UnsupportedEncodingException,
                            JaloBusinessException
        Throws:
        java.io.UnsupportedEncodingException
        JaloBusinessException
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • parseLine

        protected java.util.Map parseLine​(java.lang.String line)
        Description copied from class: CSVReader
        Tokenises the given line and returns a Map with following content:

        Map{
        { 0:Integer, Field_1:String },
        { 1:Integer, Field_2:String },
        ...
        { n-1:Integer, Field_n:String }
        }

        Overrides:
        parseLine in class CSVReader
        Parameters:
        line - the line
        Returns:
        a map with the parsed CSV fields or null if failure