|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
de.viaboxx.nlstools.tasks.LocaleSanityCheckerTask
public class LocaleSanityCheckerTask
Checks localisation files for obvious errors like missing translations for single entries. This task is locale-specific, so using it include telling which locale to analyze.
Usage sample: <sanityCheck locale="fr_FR" includeReview="false" from="complete/main-default.xml" to="sanity-check-FR.xml" />
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
LocaleSanityCheckerTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
File |
getFrom()
|
String |
getLocale()
|
File |
getTo()
|
boolean |
isIncludeReview()
|
void |
setFrom(File from)
|
void |
setIncludeReview(boolean includeReview)
|
void |
setLocale(String locale)
|
void |
setTo(File to)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleSanityCheckerTask()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic File getFrom()
public void setFrom(File from)
public String getLocale()
public void setLocale(String locale)
public File getTo()
public void setTo(File to)
public boolean isIncludeReview()
public void setIncludeReview(boolean includeReview)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||