java.lang.Object
org.simpleflatmapper.csv.CsvParser.MapWithDSL<T>
- Direct Known Subclasses:
CsvParser.MapToDSL,CsvParser.StaticMapToDSL
- Enclosing class:
CsvParser
DSL for csv mapping to a provided jdbcMapper.
-
Constructor Summary
ConstructorsConstructorDescriptionMapWithDSL(org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSL dsl, CsvMapper<T> mapper) -
Method Summary
Modifier and TypeMethodDescriptionfinal <H extends org.simpleflatmapper.util.CheckedConsumer<T>>
Hfinal <H extends org.simpleflatmapper.util.CheckedConsumer<T>>
Hfinal <H extends org.simpleflatmapper.util.CheckedConsumer<T>>
HforEach(CharSequence content, H consumer) final <H extends org.simpleflatmapper.util.CheckedConsumer<T>>
Hprotected final org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSLgetDsl()final org.simpleflatmapper.util.CloseableIterator<T>iterator(CharSequence content) Deprecated.final <R> Rstream(CharSequence content)
-
Constructor Details
-
MapWithDSL
-
-
Method Details
-
getDsl
protected final org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSL getDsl() -
iterator
- Throws:
IOException
-
iterator
- Throws:
IOException
-
iterator
- Throws:
IOException
-
iterator
- Throws:
IOException
-
forEach
public final <H extends org.simpleflatmapper.util.CheckedConsumer<T>> H forEach(File file, H consumer) throws IOException - Throws:
IOException
-
forEach
public final <H extends org.simpleflatmapper.util.CheckedConsumer<T>> H forEach(Reader reader, H consumer) throws IOException - Throws:
IOException
-
forEach
public final <H extends org.simpleflatmapper.util.CheckedConsumer<T>> H forEach(CharSequence content, H consumer) throws IOException - Throws:
IOException
-
forEach
public final <H extends org.simpleflatmapper.util.CheckedConsumer<T>> H forEach(String content, H consumer) throws IOException - Throws:
IOException
-
stream
- Throws:
IOException
-
stream
- Throws:
IOException
-
stream
- Throws:
IOException
-
stream
Deprecated.use @see MapWithDSL#stream(File, Function)- Parameters:
file- the file- Returns:
- a stream of T
- Throws:
IOException
-
stream
- Throws:
IOException
-