org.unitils.io.filecontent.impl
Class DefaultFileContentReaderFactory

java.lang.Object
  extended by org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
All Implemented Interfaces:
FileContentReaderFactory

public class DefaultFileContentReaderFactory
extends Object
implements FileContentReaderFactory

Since:
3.3
Author:
Tim Ducheyne, Jeroen Horemans

Field Summary
static String CUSTOM_CONVERSION_STRATEGY_KEY
           
static String DEFAULT_CONVERSION_STRATEGY_KEY
           
static String DEFAULT_FILE_ENCODING
           
 
Constructor Summary
DefaultFileContentReaderFactory()
           
 
Method Summary
protected  List<ConversionStrategy<?>> createConversionStrategies(Properties configuration)
           
protected  List<ConversionStrategy<?>> createConversionStrategies(Properties configuration, String propertyName)
           
 FileContentReader createFileContentReader(Properties configuration)
           
protected  ReadingStrategy createReadingStrategy(Properties configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONVERSION_STRATEGY_KEY

public static final String DEFAULT_CONVERSION_STRATEGY_KEY
See Also:
Constant Field Values

CUSTOM_CONVERSION_STRATEGY_KEY

public static final String CUSTOM_CONVERSION_STRATEGY_KEY
See Also:
Constant Field Values

DEFAULT_FILE_ENCODING

public static final String DEFAULT_FILE_ENCODING
See Also:
Constant Field Values
Constructor Detail

DefaultFileContentReaderFactory

public DefaultFileContentReaderFactory()
Method Detail

createFileContentReader

public FileContentReader createFileContentReader(Properties configuration)
Specified by:
createFileContentReader in interface FileContentReaderFactory

createReadingStrategy

protected ReadingStrategy createReadingStrategy(Properties configuration)

createConversionStrategies

protected List<ConversionStrategy<?>> createConversionStrategies(Properties configuration)

createConversionStrategies

protected List<ConversionStrategy<?>> createConversionStrategies(Properties configuration,
                                                                 String propertyName)


Copyright © 2011. All Rights Reserved.