Class FormatUtil
java.lang.Object
ch.tocco.nice2.toolbox.api.string.FormatUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringcapitalizeFirstLetter(String input) static StringformatByteSize(long size) static StringtoCamelCase(String in, boolean startWithUpper) "my new string" --> myNewString "my_new_string" --> myNewString "my-new-string" --> myNewString
- 
Method Details- 
formatByteSize
- 
toCamelCase- "my new string" --> myNewString
- "my_new_string" --> myNewString
- "my-new-string" --> myNewString
 - Parameters:
- in- input string
- startWithUpper- whether the first case should be uppercase
- Returns:
- the in string in camelcase
 
- 
capitalizeFirstLetter- Parameters:
- input- input string
- Returns:
- the input string with first letter capitalized
 
 
-