public static class NamingConventions.UpperCamelCase extends NamingConventions.CamelCase
ignorablePrefixes
set to "_" then a field
named "_MyXmlParser" will be split in 3 words only: "My", "Xml", "Parser".Constructor and Description |
---|
UpperCamelCase(boolean upperCaseAbbreviations) |
UpperCamelCase(boolean upperCaseAbbreviations,
String... ignorablePrefixes) |
UpperCamelCase(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 UpperCamelCase(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 UpperCamelCase(String... ignorablePrefixes)
ignorablePrefixes
- string prefixes to trim if constant field name prefixes are usedpublic UpperCamelCase(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.