Package org.apache.poi.hwpf.dev
Class RecordUtil
- java.lang.Object
-
- org.apache.poi.hwpf.dev.RecordUtil
-
@Internal public class RecordUtil extends java.lang.Object
Helper functions for the record transformations. Used during model classes autogeneration.
-
-
Constructor Summary
Constructors Constructor Description RecordUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getBitFieldFunction(java.lang.String name, java.lang.String bitMask, java.lang.String parentType, java.lang.String withType)
static java.lang.String
getBitFieldGet(java.lang.String name, java.lang.String bitMask, java.lang.String parentType, java.lang.String parentField)
static java.lang.String
getBitFieldSet(java.lang.String name, java.lang.String bitMask, java.lang.String parentType, java.lang.String parentField)
static java.lang.String
getBitFieldType(java.lang.String name, java.lang.String bitMask, java.lang.String parentType)
static java.lang.String
getConstName(java.lang.String parentName, java.lang.String constName, int padTo)
static java.lang.String
getFieldName(int position, java.lang.String name, int padTo)
static java.lang.String
getFieldName(java.lang.String name, int padTo)
static java.lang.String
getFieldName1stCap(java.lang.String name, int padTo)
static java.lang.String
getType1stCap(java.lang.String size, java.lang.String type, int padTo)
-
-
-
Method Detail
-
getBitFieldFunction
public static java.lang.String getBitFieldFunction(java.lang.String name, java.lang.String bitMask, java.lang.String parentType, java.lang.String withType)
-
getBitFieldGet
public static java.lang.String getBitFieldGet(java.lang.String name, java.lang.String bitMask, java.lang.String parentType, java.lang.String parentField)
-
getBitFieldSet
public static java.lang.String getBitFieldSet(java.lang.String name, java.lang.String bitMask, java.lang.String parentType, java.lang.String parentField)
-
getBitFieldType
public static java.lang.String getBitFieldType(java.lang.String name, java.lang.String bitMask, java.lang.String parentType)
-
getConstName
public static java.lang.String getConstName(java.lang.String parentName, java.lang.String constName, int padTo)
-
getFieldName
public static java.lang.String getFieldName(int position, java.lang.String name, int padTo)
-
getFieldName
public static java.lang.String getFieldName(java.lang.String name, int padTo)
-
getFieldName1stCap
public static java.lang.String getFieldName1stCap(java.lang.String name, int padTo)
-
getType1stCap
public static java.lang.String getType1stCap(java.lang.String size, java.lang.String type, int padTo)
-
-