com.silverpeas.util.csv
Class CSVWriter

java.lang.Object
  extended by com.silverpeas.util.csv.CSVWriter

public class CSVWriter
extends Object


Field Summary
protected  String[] m_colDefaultValues
           
protected  String[] m_colNames
           
protected  String[] m_colTypes
           
protected  int m_nbCols
           
protected  String m_separator
           
protected  String[] m_specificColNames
           
protected  String[] m_specificColTypes
           
protected  int m_specificNbCols
           
protected  String[] m_specificParameterNames
           
protected  ResourceLocator m_utilMessages
           
 
Constructor Summary
CSVWriter(String language)
          Constructeur
 
Method Summary
 int getM_specificNbCols()
           
 void initCSVFormat(String propertiesFile, String rootPropertyName, String separator)
           
 void initCSVFormat(String propertiesFile, String rootPropertyName, String separator, String specificPropertiesFile, String specificRootPropertyName)
           
 void setM_specificNbCols(int cols)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_nbCols

protected int m_nbCols

m_colNames

protected String[] m_colNames

m_colTypes

protected String[] m_colTypes

m_colDefaultValues

protected String[] m_colDefaultValues

m_separator

protected String m_separator

m_utilMessages

protected ResourceLocator m_utilMessages

m_specificNbCols

protected int m_specificNbCols

m_specificColNames

protected String[] m_specificColNames

m_specificColTypes

protected String[] m_specificColTypes

m_specificParameterNames

protected String[] m_specificParameterNames
Constructor Detail

CSVWriter

public CSVWriter(String language)
Constructeur

Method Detail

initCSVFormat

public void initCSVFormat(String propertiesFile,
                          String rootPropertyName,
                          String separator)

initCSVFormat

public void initCSVFormat(String propertiesFile,
                          String rootPropertyName,
                          String separator,
                          String specificPropertiesFile,
                          String specificRootPropertyName)

getM_specificNbCols

public int getM_specificNbCols()
Returns:
Returns the m_specificNbCols.

setM_specificNbCols

public void setM_specificNbCols(int cols)
Parameters:
cols - The m_specificNbCols to set.


Copyright © 2016 Silverpeas. All Rights Reserved.