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 StringgetBitFieldFunction(String name, String bitMask, String parentType, String withType) static StringgetBitFieldGet(String name, String bitMask, String parentType, String parentField) static StringgetBitFieldSet(String name, String bitMask, String parentType, String parentField) static StringgetBitFieldType(String name, String bitMask, String parentType) static StringgetConstName(String parentName, String constName, int padTo) static StringgetFieldName(int position, String name, int padTo) static StringgetFieldName(String name, int padTo) static StringgetFieldName1stCap(String name, int padTo) static StringgetType1stCap(String size, String type, int padTo) protected static StringBuilderpad(StringBuilder fieldName, int padTo)
-
Constructor Details
-
RecordUtil
public RecordUtil()
-
-
Method Details
-
getBitFieldFunction
-
getBitFieldGet
-
getBitFieldSet
-
getBitFieldType
-
getConstName
-
getFieldName
-
getFieldName
-
getFieldName1stCap
-
getType1stCap
-
pad
-