public class TranslationCheck extends AbstractFileSetCheck
The TranslationCheck class helps to ensure the correct translation of code by checking property files for consistency regarding their keys. Two property files describing one and the same context are consistent if they contain the same keys.
An example of how to configure the check is:
<module name="Translation"/>
Constructor and Description |
---|
TranslationCheck()
Creates a new
TranslationCheck instance. |
Modifier and Type | Method and Description |
---|---|
void |
process(File[] aFiles)
This method searches for property files in the specified file array
and checks whether the key usage is consistent.
|
destroy, filter, fireErrors, getCharset, getMessageCollector, getMessageDispatcher, log, log, setCharset, setFileExtensions, setMessageDispatcher
getId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
contextualize
public TranslationCheck()
TranslationCheck
instance.public void process(File[] aFiles)
aFiles
- the files to be audited.FileSetCheck