Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.springframework.batch.item.file.transform;
 
Default implementation of FieldSetFactory with no special knowledge of the FieldSet required. Returns a DefaultFieldSet from both factory methods.

Author(s):
Dave Syer
public class DefaultFieldSetFactory implements FieldSetFactory {
The java.text.NumberFormat to use for parsing numbers. If unset the default locale will be used.

Parameters:
numberFormat the java.text.NumberFormat to use for number parsing
	public void setNumberFormat(NumberFormat numberFormat) {
		this. = numberFormat;
	}

The java.text.DateFormat to use for parsing numbers. If unset the default pattern is ISO standard yyyy/MM/dd.

Parameters:
dateFormat the java.text.DateFormat to use for date parsing
	public void setDateFormat(DateFormat dateFormat) {
		this. = dateFormat;
	}

	public FieldSet create(String[] valuesString[] names) {
		DefaultFieldSet fieldSet = new DefaultFieldSet(valuesnames);
		return enhance(fieldSet);
	}

	public FieldSet create(String[] values) {
		DefaultFieldSet fieldSet = new DefaultFieldSet(values);
		return enhance(fieldSet);
	}
	private FieldSet enhance(DefaultFieldSet fieldSet) {
		if (!=null) {
		}
		if (!=null) {
		}	
		return fieldSet;
	}
New to GrepCode? Check out our FAQ X