public FixedLengthListBinder(String fields, Class recordType) { AssertArgument.isNotNullAndNotEmpty(fields, "fields"); AssertArgument.isNotNull(recordType, "recordType"); smooks = new Smooks(); smooks.setFilterSettings(FilterSettings.DEFAULT_SAX); smooks.setReaderConfig(new FixedLengthReaderConfigurator(fields) .setBinding(new FixedLengthBinding(beanId, recordType, FixedLengthBindingType.LIST))); }
public FixedLengthListBinder(String fields, Class recordType) { AssertArgument.isNotNullAndNotEmpty(fields, "fields"); AssertArgument.isNotNull(recordType, "recordType"); smooks = new Smooks(); smooks.setFilterSettings(FilterSettings.DEFAULT_SAX); smooks.setReaderConfig(new FixedLengthReaderConfigurator(fields) .setBinding(new FixedLengthBinding(beanId, recordType, FixedLengthBindingType.LIST))); }
public FixedLengthListBinder(String fields, Class recordType) { AssertArgument.isNotNullAndNotEmpty(fields, "fields"); AssertArgument.isNotNull(recordType, "recordType"); smooks = new Smooks(); smooks.setFilterSettings(FilterSettings.DEFAULT_SAX); smooks.setReaderConfig(new FixedLengthReaderConfigurator(fields) .setBinding(new FixedLengthBinding(beanId, recordType, FixedLengthBindingType.LIST))); }
public FixedLengthMapBinder(String fields, Class recordType, String keyField) { AssertArgument.isNotNullAndNotEmpty(fields, "fields"); AssertArgument.isNotNull(recordType, "recordType"); AssertArgument.isNotNullAndNotEmpty(keyField, "keyField"); smooks = new Smooks(); smooks.setFilterSettings(FilterSettings.DEFAULT_SAX); smooks.setReaderConfig(new FixedLengthReaderConfigurator(fields) .setBinding(new FixedLengthBinding(beanId, recordType, FixedLengthBindingType.MAP).setKeyField(keyField))); }
public FixedLengthMapBinder(String fields, Class recordType, String keyField) { AssertArgument.isNotNullAndNotEmpty(fields, "fields"); AssertArgument.isNotNull(recordType, "recordType"); AssertArgument.isNotNullAndNotEmpty(keyField, "keyField"); smooks = new Smooks(); smooks.setFilterSettings(FilterSettings.DEFAULT_SAX); smooks.setReaderConfig(new FixedLengthReaderConfigurator(fields) .setBinding(new FixedLengthBinding(beanId, recordType, FixedLengthBindingType.MAP).setKeyField(keyField))); }
public FixedLengthMapBinder(String fields, Class recordType, String keyField) { AssertArgument.isNotNullAndNotEmpty(fields, "fields"); AssertArgument.isNotNull(recordType, "recordType"); AssertArgument.isNotNullAndNotEmpty(keyField, "keyField"); smooks = new Smooks(); smooks.setFilterSettings(FilterSettings.DEFAULT_SAX); smooks.setReaderConfig(new FixedLengthReaderConfigurator(fields) .setBinding(new FixedLengthBinding(beanId, recordType, FixedLengthBindingType.MAP).setKeyField(keyField))); }