Package adams.data.report
Class FieldUtils
- java.lang.Object
-
- adams.data.report.FieldUtils
-
public class FieldUtils extends Object
A helper class for field objects.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description FieldUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Field
fixClass(FieldType type, AbstractField field)
Creates a field object with the correct class.static Field[]
fixClass(FieldType type, AbstractField[] fields)
Creates an array with the correct class.
-
-
-
Method Detail
-
fixClass
public static Field fixClass(FieldType type, AbstractField field)
Creates a field object with the correct class.- Parameters:
type
- the type of field to createfield
- the field to fix- Returns:
- the fixed field
-
fixClass
public static Field[] fixClass(FieldType type, AbstractField[] fields)
Creates an array with the correct class.- Parameters:
type
- the type of field to createfields
- the array to fix- Returns:
- the fixed array
- See Also:
#m_FieldType
-
-