Package games.stendhal.tools
Class MapUpdater
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
games.stendhal.tools.MapUpdater
- All Implemented Interfaces:
Cloneable
public class MapUpdater
extends org.apache.tools.ant.Task
Fix maps by loading and saving them.
- Author:
- mtotz, miguel
-
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
-
Method Summary
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
-
Constructor Details
-
MapUpdater
public MapUpdater()
-
-
Method Details
-
convert
Converts the map files.- Parameters:
tmxFile
-- Throws:
Exception
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set)Adds a set of files to copy.- Parameters:
set
- a set of files to copy
-
execute
public void execute()ants execute method.- Overrides:
execute
in classorg.apache.tools.ant.Task
-
main
- Throws:
Exception
-