接口 FieldSetFactory
- 所有已知实现类:
DefaultFieldSetFactory
public interface FieldSetFactory
Factory interface for creatingFieldSet
instances.- 作者:
- Dave Syer
方法详细资料
create
FieldSet create(java.lang.String[] values, java.lang.String[] names)
Create a FieldSet with named tokens. The token values can then be retrieved either by name or by column number.- 参数:
values
- the token valuesnames
- the names of the tokens- 返回:
- an instance of
FieldSet
. - 另请参阅:
DefaultFieldSet.readString(String)
create
FieldSet create(java.lang.String[] values)
Create a FieldSet with anonymous tokens. They can only be retrieved by column number.- 参数:
values
- the token values- 返回:
- an instance of
FieldSet
. - 另请参阅:
FieldSet.readString(int)