|
|||||||||
| 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
com.threerings.export.tools.XMLToBinaryTask
public class XMLToBinaryTask
Converts XML export files into binary export files.
| Field Summary | |
|---|---|
protected boolean |
_compress
Whether or not to compress the output files. |
protected File |
_dest
The directory in which we will generate our output (in a directory tree mirroring the source files. |
protected ArrayList<org.apache.tools.ant.types.FileSet> |
_filesets
A list of filesets that contain XML exports. |
| 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 | |
|---|---|
XMLToBinaryTask()
|
|
| Method Summary | |
|---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a fileset to the list of sets to process. |
protected void |
convert(File sourceDir,
String sourceName)
Converts a single file. |
void |
execute()
|
void |
setCompress(boolean compress)
Sets whether or not to compress the resulting files. |
void |
setDest(File dest)
Sets the destination directory to which generated files will be written. |
| 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 |
| Field Detail |
|---|
protected File _dest
protected boolean _compress
protected ArrayList<org.apache.tools.ant.types.FileSet> _filesets
| Constructor Detail |
|---|
public XMLToBinaryTask()
| Method Detail |
|---|
public void setDest(File dest)
public void setCompress(boolean compress)
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
protected void convert(File sourceDir,
String sourceName)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||