public abstract class AbstractLanguage extends Object implements Language
| Constructor and Description |
|---|
AbstractLanguage(String key)
Better to use AbstractLanguage(key, name).
|
AbstractLanguage(String key,
String name)
Should be the constructor used to build an AbstractLanguage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKey()
For example "java".
|
String |
getName()
For example "Java"
|
int |
hashCode() |
void |
setName(String name)
Sets the language name
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFileSuffixespublic AbstractLanguage(String key)
key - The key of the language. Must not be more than 20 chars.public AbstractLanguage(String key, String name)
key - the key that will be used to retrieve the language. Must not be more than 20 chars. This key is important as it will be used to teint rules repositories...name - the display name of the language in the interfaceCopyright © 2009–2017 SonarSource. All rights reserved.