Class QuotedColumn
- java.lang.Object
-
- com.github.skjolber.stcsv.databinder.AbstractColumn
-
- com.github.skjolber.stcsv.databinder.QuotedColumn
-
- Direct Known Subclasses:
QuotedFixedColumn
public class QuotedColumn extends AbstractColumn
-
-
Field Summary
Fields Modifier and Type Field Description protected intescapeCharacterprotected intquoteCharacter-
Fields inherited from class com.github.skjolber.stcsv.databinder.AbstractColumn
currentArrayIndex, currentOffsetIndex, index, intermediate, intermediateIndex, name, objectIndex, optional, parent, projection, rangeIndex, startIndex, trimLeadingWhitespaces, trimTrailingWhitespaces
-
-
Constructor Summary
Constructors Constructor Description QuotedColumn(String name, int index, int quoteCharacter, int escapeCharacter, boolean optional, boolean trimTrailingWhitespaces, boolean trimLeadingWhitespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinline(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int divider, int increment, boolean fillable)Inline column handlingprotected voidscanQuoted(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int increment, int divider, boolean fillable, org.objectweb.asm.Label quoted, org.objectweb.asm.Label endLabel)-
Methods inherited from class com.github.skjolber.stcsv.databinder.AbstractColumn
doDecrementWhileAtWhitespace, doIncrementWhileNotEqualToDivider, getIndex, getName, getProjection, ifAtChar, ifLargerThanStart, ifNotAtChar, isBiConsumer, isTriConsumer, jumpToLabelForChar, last, middle, saveOffsetInRange, saveOffsetInStart, setParent, setProjection, throwMappingException, trimTrailingWhitespace, trimWhitespace, writeValue
-
-
-
-
Constructor Detail
-
QuotedColumn
public QuotedColumn(String name, int index, int quoteCharacter, int escapeCharacter, boolean optional, boolean trimTrailingWhitespaces, boolean trimLeadingWhitespaces)
-
-
Method Detail
-
inline
protected void inline(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int divider, int increment, boolean fillable)Description copied from class:AbstractColumnInline column handling- Specified by:
inlinein classAbstractColumn- Parameters:
mv- method visitorsubClassInternalName- target parser classdivider- divider characterincrement- increment after last characterfillable- if true then a fill operation must be successful
-
scanQuoted
protected void scanQuoted(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int increment, int divider, boolean fillable, org.objectweb.asm.Label quoted, org.objectweb.asm.Label endLabel)
-
-