com.puppycrawl.tools.checkstyle.checks
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 Summary | |
---|---|
TranslationCheck()
Creates a new TranslationCheck instance. |
Method Summary | |
---|---|
void | process(File[] aFiles)
This method searches for property files in the specified file array
and checks whether the key usage is consistent.
|
TranslationCheck
instance.Parameters: aFiles {@inheritDoc}
See Also: FileSetCheck