Class TextUtil
- java.lang.Object
-
- org.apache.commons.lang.WordUtils
-
- gov.nasa.pds.imaging.generate.util.TextUtil
-
- All Implemented Interfaces:
PDSContext
public class TextUtil extends org.apache.commons.lang.WordUtils implements PDSContext
-
-
Constructor Summary
Constructors Constructor Description TextUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
capitalize(Object obj)
Utility method used to transform the object into the applicable PDS title-case format for enumerated values.static String
capitalize(String str)
Utility method used to transform the str into the applicable PDS title-case format for enumerated values.String
getContext()
-
-
-
Field Detail
-
CONTEXT
public static final String CONTEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContext
public String getContext()
- Specified by:
getContext
in interfacePDSContext
-
capitalize
public static String capitalize(String str)
Utility method used to transform the str into the applicable PDS title-case format for enumerated values.- Parameters:
str
-- Returns:
-
-