encoderName = parts[0];
final String encoderNameLowerCase = encoderName.toLowerCase();
if (encoderNameLowerCase.startsWith(SELECT) || encoderNameLowerCase.startsWith(COLUMN)) {
try {
Integer.parseInt(parts[1]);
return new SelectiveCsvEncoder(convertToIntParams(parts, 1, parts.length - 1));
} catch (final NumberFormatException e) {
return new SelectiveCsvEncoder(convertToBooleanParams(parts));
}
} else {
throw SupportMessages.MESSAGES.invalidReaderWriterProperty(null, val, ENCODER_KEY);
}
}