de.viaboxx.nlstools.tasks
Class AddLocaleTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by de.viaboxx.nlstools.tasks.AddLocaleTask
All Implemented Interfaces:
Cloneable

public class AddLocaleTask
extends org.apache.tools.ant.Task

Takes an XML bundle and adds new entries for the specified locales.
NEW (29.12.2010):
* Can handle XML and Excel files.

Author:
Simon Tiffert

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
AddLocaleTask()
           
 
Method Summary
 void execute()
           
 String getFrom()
          The xml file with path name to read from
 String getLocales()
          semicolon separated locale names
 String getTo()
          The xml file with the path name to write into
 void setFrom(String from)
           
 void setLocales(String locales)
           
 void setTo(String 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

AddLocaleTask

public AddLocaleTask()
Method Detail

getFrom

public String getFrom()
The xml file with path name to read from

Returns:

setFrom

public void setFrom(String from)

getTo

public String getTo()
The xml file with the path name to write into

Returns:

setTo

public void setTo(String to)

getLocales

public String getLocales()
semicolon separated locale names

Returns:

setLocales

public void setLocales(String locales)

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task


Copyright © 2013. All Rights Reserved.