|
||||||||||
| 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.FillLocaleTask
public class FillLocaleTask
Fills missing keys in locale with the values found in a different locale in the same file.
<fillLocale from="filled/filled-main-default-FR.xml" to="complete/main-default.xml" sourceLocale="en_US" targetLocale="it_IT" doSetReviewFlag="false" fillOnlyKeysStartingWith="key_line" />
| 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 | |
|---|---|
FillLocaleTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
String |
getFillOnlyKeysStartingWith()
|
File |
getFrom()
|
String |
getSourceLocale()
|
String |
getTargetLocale()
|
File |
getTo()
|
boolean |
isDoSetReviewFlag()
|
void |
setDoSetReviewFlag(boolean doSetReviewFlag)
|
void |
setFillOnlyKeysStartingWith(String fillOnlyKeysStartingWith)
|
void |
setFrom(File from)
|
void |
setSourceLocale(String sourceLocale)
|
void |
setTargetLocale(String targetLocale)
|
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 FillLocaleTask()
| 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 File getTo()
public void setTo(File to)
public String getSourceLocale()
public void setSourceLocale(String sourceLocale)
public String getTargetLocale()
public void setTargetLocale(String targetLocale)
public String getFillOnlyKeysStartingWith()
public void setFillOnlyKeysStartingWith(String fillOnlyKeysStartingWith)
public boolean isDoSetReviewFlag()
public void setDoSetReviewFlag(boolean doSetReviewFlag)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||