olg.csv.base.ods
Class ODSWriter.ODSParser

Package class diagram package ODSWriter.ODSParser
java.lang.Object
  extended by olg.csv.bean.parser.AbstractParser<List<String>>
      extended by olg.csv.base.ods.ODSWriter.ODSParser
Enclosing class:
ODSWriter

public static class ODSWriter.ODSParser
extends AbstractParser<List<String>>

This parser returns lines extracted from a string by interpreting \r, \n or \r\n as line breaks found in it. Used to convert a string into an ODS Cell content(where line breaks are not correctly interpreted) : For each line returns by this parser, ODSWriter will create a paragraph into the cell


Constructor Summary
ODSWriter.ODSParser()
           
 
Method Summary
 List<String> parse(String str)
          Converts a string into a new instance of .
 
Methods inherited from class olg.csv.bean.parser.AbstractParser
getCharacterParser, getConstructorParser, getDateParser, getEnumParser, identifyDefaultParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODSWriter.ODSParser

public ODSWriter.ODSParser()
Method Detail

parse

public List<String> parse(String str)
                   throws ParseException
Description copied from class: AbstractParser
Converts a string into a new instance of .

Specified by:
parse in class AbstractParser<List<String>>
Parameters:
str - the string.
Returns:
the new instance of .
Throws:
ParseException - if parsing error occurs.


Copyright © 2014. All Rights Reserved.