class DefaultLineMapper<T> implements LineMapper<T>, InitializingBean {

	private LineTokenizer tokenizer;

	private FieldSetMapper<T> fieldSetMapper;

	@Override
	public T mapLine(String line, int lineNumber) throws Exception {
		return fieldSetMapper.mapFieldSet(tokenizer.tokenize(line));
	}

	public void setLineTokenizer(LineTokenizer tokenizer) {
		this.tokenizer = tokenizer;
	}

	public void setFieldSetMapper(FieldSetMapper<T> fieldSetMapper) {
		this.fieldSetMapper = fieldSetMapper;
	}

	@Override
	public void afterPropertiesSet() {<FILL_FUNCTION_BODY>}

}

		Assert.state(tokenizer != null, "The LineTokenizer must be set");
		Assert.state(fieldSetMapper != null, "The FieldSetMapper must be set");
	
<no_super_class>