public static class NamingConventions.LowerCamelCase extends NamingConventions.CamelCase
ignorablePrefixes
set to "_" then a field
named "_myXmlParser" will be split in 3 words only: "my", "Xml", "Parser".Constructor and Description |
---|
LowerCamelCase(boolean upperCaseAbbreviations) |
LowerCamelCase(boolean upperCaseAbbreviations,
String... ignorablePrefixes) |
LowerCamelCase(String... ignorablePrefixes) |
Modifier and Type | Method and Description |
---|---|
String |
join(List<Word> input)
Receive an ordered list of Word objects and returns a result property name.
|
split
public LowerCamelCase(boolean upperCaseAbbreviations, String... ignorablePrefixes)
upperCaseAbbreviations
- true
to uppercase all abbreviations,
false
to treat abbreviations as any other wordignorablePrefixes
- string prefixes to trim if constant field name prefixes are usedpublic LowerCamelCase(String... ignorablePrefixes)
ignorablePrefixes
- string prefixes to trim if constant field name prefixes are usedpublic LowerCamelCase(boolean upperCaseAbbreviations)
upperCaseAbbreviations
- true
to uppercase all abbreviations,
false
to treat abbreviations as any other wordpublic String join(List<Word> input)
NamingConvention
input
- list to translateCopyright © 2012–2018. All rights reserved.