public class Form
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
indentLevel1 |
static java.lang.String |
indentLevel2 |
static java.lang.String |
indentLevel3 |
static java.lang.String |
newline |
| Constructor and Description |
|---|
Form() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
binaryC16Bit(int value)
From an integer value, return a compressed 16-bit number in comma separated hex form.
|
static int |
binaryC16BitLength(int value)
Determine the compressed length of a 16-bit number.
|
static java.lang.String |
binaryC24Bit(int value)
From an integer value, return a compressed 24-bit number in comma separated hex form.
|
static int |
binaryC24BitLength(int value)
Determine the compressed length of a 24-bit number.
|
static java.lang.String |
bytesToCommaSeparatedHex(byte[] bytes)
From a byte array, return a set of comma separated hex strings, 1 hex string per byte.
|
static java.lang.String |
getInterfaceElementDescription(MetadataElements meElement,
java.lang.String strRequestedLanguage)
Return description of the given metadata element.
|
static java.lang.String |
getInterfaceElementDisplayName(MetadataElements meElement,
java.lang.String strRequestedLanguage)
Return display name of the given metadata element.
|
static void |
initializeNextDistinguishingCharacter() |
static java.lang.String |
justifyDescription(java.lang.String value)
Return one string that holds a set of text lines that are justified to the given margins, from one input string.
|
static java.lang.String |
nextDistinguishingCharacter() |
public static java.lang.String indentLevel1
public static java.lang.String indentLevel2
public static java.lang.String indentLevel3
public static java.lang.String newline
public static void initializeNextDistinguishingCharacter()
public static java.lang.String nextDistinguishingCharacter()
public static java.lang.String justifyDescription(java.lang.String value)
value - The string to convert to a justified set of text lines.public static java.lang.String getInterfaceElementDisplayName(MetadataElements meElement, java.lang.String strRequestedLanguage) throws java.lang.Exception
meElement - The metadata element.strRequestedLanguage - Specify the language to extract from the metadata element.java.lang.Exception - thrown if the element display name could not be calculated.public static java.lang.String getInterfaceElementDescription(MetadataElements meElement, java.lang.String strRequestedLanguage) throws java.lang.Exception
meElement - The metadata element.strRequestedLanguage - Specify the language to extract from the metadata element.java.lang.Exception - thrown if the element description could not be calculatedpublic static java.lang.String bytesToCommaSeparatedHex(byte[] bytes)
bytes - The byte array to process.public static java.lang.String binaryC16Bit(int value)
value - The integer value to process.public static java.lang.String binaryC24Bit(int value)
value - The integer value to process.public static int binaryC16BitLength(int value)
value - The number.public static int binaryC24BitLength(int value)
value - The number.