Interface SimpleFieldModifier
- All Superinterfaces:
FieldModifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated(since="3.7.0",
forRemoval=true)
@FunctionalInterface
public interface SimpleFieldModifier
extends FieldModifier
Deprecated, for removal: This API element is subject to removal in a future version.
A functional interface for modifying CSV fields in a simple way (with reduced functionality).
When implementing this interface, comments are ignored (not modified), by default.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringDeprecated, for removal: This API element is subject to removal in a future version.Gets called for every single field (that is not a comment).Deprecated, for removal: This API element is subject to removal in a future version.Gets called for every single field (that is not a comment).Methods inherited from interface de.siegmar.fastcsv.reader.FieldModifier
andThen, modifyComment
-
Method Details
-
modify
-
modify
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldModifierGets called for every single field (that is not a comment). The Default implementation returns the field as is.- Specified by:
modifyin interfaceFieldModifier- Parameters:
startingLineNumber- the starting line number (starting with 1)fieldIdx- the field index (starting with 0)quoted-trueif the field was enclosed by the defined quote charactersfield- the field value, nevernull- Returns:
- the modified field value (must not be
null)
-
FieldModifiers.modify(java.util.function.Function)instead.