com.openindex.openestate.tool.agency.utils
Class IDXCsvReader

java.lang.Object
  extended by com.openindex.openestate.impl.OpenEstateConverter
      extended by com.openindex.openestate.impl.csv.CSVReader
          extended by com.openindex.openestate.impl.csv.idx.IDXCSVReader
              extended by com.openindex.openestate.tool.agency.utils.IDXCsvReader

public class IDXCsvReader
extends IDXCSVReader

IDXCSVReader.
$Id: IDXCsvReader.java 1559 2012-05-28 22:48:49Z andy $

Author:
Andreas Rudolph

Constructor Summary
IDXCsvReader()
           
IDXCsvReader(AgencyImportDialog dlg)
           
IDXCsvReader(Locale locale)
           
 
Method Summary
static String calculateHash(String[] values)
           
 EstateImpl createEmptyEstate()
           
 boolean isHashComparisonEnabled()
           
protected  boolean readEstate(IDXCSVSchema schema, String[] values, EstateImpl estate)
           
 void setHashComparisonEnabled(boolean hashComparisonEnabled)
           
 
Methods inherited from class com.openindex.openestate.impl.csv.idx.IDXCSVReader
getCharset, readLine, readLineValues, readLineValues, readLineValues
 
Methods inherited from class com.openindex.openestate.impl.csv.CSVReader
createEmptyContact, getChar, getChar, getFloat, getFloat, getInt, getInt, getLong, getLong, getString, getString, read, read, read, read, read
 
Methods inherited from class com.openindex.openestate.impl.OpenEstateConverter
getErrorMap, getEstateValue, getEstateValueAsBigDecimal, getEstateValueAsBigInteger, getEstateValueAsBoolean, getEstateValueAsCalendar, getEstateValueAsDate, getEstateValueAsDouble, getEstateValueAsFloat, getEstateValueAsInteger, getEstateValueAsList, getEstateValueAsLong, getEstateValueAsNonEmptyString, getEstateValueAsString, getFormattedEstateValue, getNumber, getOpenEstateLanguage, getXmlLineSeparator, hasEstateValue, putErrors, putEstateValue, putEstateValue, setOpenEstateLanguage, setXmlLineSeparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDXCsvReader

public IDXCsvReader()

IDXCsvReader

public IDXCsvReader(Locale locale)

IDXCsvReader

public IDXCsvReader(AgencyImportDialog dlg)
Method Detail

calculateHash

public static String calculateHash(String[] values)
                            throws NoSuchAlgorithmException,
                                   IOException
Throws:
NoSuchAlgorithmException
IOException

createEmptyEstate

public EstateImpl createEmptyEstate()
Overrides:
createEmptyEstate in class CSVReader

isHashComparisonEnabled

public boolean isHashComparisonEnabled()

readEstate

protected boolean readEstate(IDXCSVSchema schema,
                             String[] values,
                             EstateImpl estate)
Overrides:
readEstate in class IDXCSVReader

setHashComparisonEnabled

public void setHashComparisonEnabled(boolean hashComparisonEnabled)


Copyright © 2012 OpenEstate. All Rights Reserved.