public class UniFormatNumber
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_LEVELS |
static java.lang.String |
ASTM_Z_NOT_SUPPORTED |
static int |
FORMAT_DASH_SPACE |
static int |
FORMAT_DOT |
Constructor and Description |
---|
UniFormatNumber(int level,
java.util.HashMap<java.lang.Integer,java.lang.String> wbs) |
UniFormatNumber(java.lang.String value,
int level) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format() |
java.lang.String |
format(int format,
boolean zeroPad) |
java.lang.String |
format(int format,
boolean zeroPad,
int numberOfLevels) |
int |
getLevel() |
java.lang.String |
getTitle() |
boolean |
isValid() |
void |
setTitle(java.lang.String title) |
public static final int FORMAT_DOT
public static final int FORMAT_DASH_SPACE
public static final int ALL_LEVELS
public static final java.lang.String ASTM_Z_NOT_SUPPORTED
public UniFormatNumber(java.lang.String value, int level)
public UniFormatNumber(int level, java.util.HashMap<java.lang.Integer,java.lang.String> wbs)
public int getLevel()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public boolean isValid()
public java.lang.String format()
public java.lang.String format(int format, boolean zeroPad)
public java.lang.String format(int format, boolean zeroPad, int numberOfLevels)