Package org.apache.poi.hwpf.dev
Class RecordUtil
java.lang.Object
org.apache.poi.hwpf.dev.RecordUtil
Helper functions for the record transformations. Used during model classes
autogeneration.
- Author:
- Glen Stampoultzis (glens at apache.org), Andrew C. Oliver (acoliver at apache dot org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getBitFieldFunction
(String name, String bitMask, String parentType, String withType) static String
getBitFieldGet
(String name, String bitMask, String parentType, String parentField) static String
getBitFieldSet
(String name, String bitMask, String parentType, String parentField) static String
getBitFieldType
(String name, String bitMask, String parentType) static String
getConstName
(String parentName, String constName, int padTo) static String
getFieldName
(int position, String name, int padTo) static String
getFieldName
(String name, int padTo) static String
getFieldName1stCap
(String name, int padTo) static String
getType1stCap
(String size, String type, int padTo) protected static StringBuilder
pad
(StringBuilder fieldName, int padTo)
-
Constructor Details
-
RecordUtil
public RecordUtil()
-
-
Method Details
-
getBitFieldFunction
-
getBitFieldGet
-
getBitFieldSet
-
getBitFieldType
-
getConstName
-
getFieldName
-
getFieldName
-
getFieldName1stCap
-
getType1stCap
-
pad
-