Class DefaultStaticCsvMapper<T>
- java.lang.Object
-
- com.github.skjolber.stcsv.databinder.DefaultStaticCsvMapper<T>
-
- Type Parameters:
T- csv line output value
- All Implemented Interfaces:
StaticCsvMapper<T>
public class DefaultStaticCsvMapper<T> extends Object implements StaticCsvMapper<T>
Static CSV parser generator - for specific parser implementation
Thread-safe.
-
-
Constructor Summary
Constructors Constructor Description DefaultStaticCsvMapper(Class<? extends AbstractCsvReader<T>> cls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractCsvReader<T>newInstance(Reader reader)AbstractCsvReader<T>newInstance(Reader reader, char[] current, int offset, int length)
-
-
-
Constructor Detail
-
DefaultStaticCsvMapper
public DefaultStaticCsvMapper(Class<? extends AbstractCsvReader<T>> cls) throws Exception
- Throws:
Exception
-
-
Method Detail
-
newInstance
public AbstractCsvReader<T> newInstance(Reader reader)
- Specified by:
newInstancein interfaceStaticCsvMapper<T>
-
newInstance
public AbstractCsvReader<T> newInstance(Reader reader, char[] current, int offset, int length)
- Specified by:
newInstancein interfaceStaticCsvMapper<T>
-
-