org.pentaho.platform.dataaccess.datasource.wizard.models
Class CsvFileInfo
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvFileInfo
- All Implemented Interfaces:
- Serializable, org.pentaho.ui.xul.XulEventSource
public class CsvFileInfo
- extends org.pentaho.ui.xul.XulEventSourceAdapter
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
HEADER_ROWS_ATTRIBUTE
public static final String HEADER_ROWS_ATTRIBUTE
- See Also:
- Constant Field Values
ENCLOSURE_ATTRIBUTE
public static final String ENCLOSURE_ATTRIBUTE
- See Also:
- Constant Field Values
DELIMITER_ATTRIBUTE
public static final String DELIMITER_ATTRIBUTE
- See Also:
- Constant Field Values
TMP_FILENAME_ATTRIBUTE
public static final String TMP_FILENAME_ATTRIBUTE
- See Also:
- Constant Field Values
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
DEFAULT_COLUMN_NAME_PREFIX
public static final String DEFAULT_COLUMN_NAME_PREFIX
- See Also:
- Constant Field Values
FRIENDLY_FILENAME_ATTRIBUTE
public static final String FRIENDLY_FILENAME_ATTRIBUTE
- See Also:
- Constant Field Values
CsvFileInfo
public CsvFileInfo()
getIfNull
public String getIfNull()
setIfNull
public void setIfNull(String ifNull)
getNullStr
public String getNullStr()
setNullStr
public void setNullStr(String nullStr)
getContents
public List<String> getContents()
setContents
public void setContents(List<String> contents)
getDelimiter
public String getDelimiter()
setDelimiter
public void setDelimiter(String delimiter)
getEnclosure
public String getEnclosure()
setEnclosure
public void setEnclosure(String enclosure)
getHeaderRows
public int getHeaderRows()
setHeaderRows
public void setHeaderRows(int headerRows)
getProject
public String getProject()
setProject
public void setProject(String project)
getTmpFilename
public String getTmpFilename()
setTmpFilename
public void setTmpFilename(String filename)
getFileName
public String getFileName()
setFileName
public void setFileName(String file)
getCurrencySymbol
public String getCurrencySymbol()
setCurrencySymbol
public void setCurrencySymbol(String currencySymbol)
getDecimalSymbol
public String getDecimalSymbol()
setDecimalSymbol
public void setDecimalSymbol(String decimalSymbol)
getGroupSymbol
public String getGroupSymbol()
setGroupSymbol
public void setGroupSymbol(String groupSymbol)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
setEncodingFromServer
public void setEncodingFromServer(String encoding)
setSavedEncoding
public void setSavedEncoding(String encoding)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
parseSampleContents
public List<List<String>> parseSampleContents()
formatSampleContents
public String formatSampleContents()
getFriendlyFilename
public String getFriendlyFilename()
setFriendlyFilename
public void setFriendlyFilename(String friendlyFilename)
clear
public void clear()