com.threerings.cast.bundle.tools
Class DirectoryMetadataBundlerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.cast.bundle.tools.MetadataBundlerTask
              extended by com.threerings.cast.bundle.tools.DirectoryMetadataBundlerTask
All Implemented Interfaces:
Cloneable

public class DirectoryMetadataBundlerTask
extends MetadataBundlerTask

Creates all the information that would be in a metadata bundle and place it in a directory.


Field Summary
 
Fields inherited from class com.threerings.cast.bundle.tools.MetadataBundlerTask
_actionDef, _classDef, _target
 
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
DirectoryMetadataBundlerTask()
           
 
Method Summary
protected  OutputStream createOutputStream(File target)
          Creates the base output stream to which to write our bundle's files.
protected  OutputStream nextEntry(OutputStream lastEntry, String path)
          Advances to the next named entry in the bundle and returns the stream to which to write that entry.
 
Methods inherited from class com.threerings.cast.bundle.tools.MetadataBundlerTask
addTileSetRuleSet, ensureSet, execute, parseActions, parseClasses, parseList, setActiondef, setClassdef, setTarget
 
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

DirectoryMetadataBundlerTask

public DirectoryMetadataBundlerTask()
Method Detail

createOutputStream

protected OutputStream createOutputStream(File target)
                                   throws IOException
Description copied from class: MetadataBundlerTask
Creates the base output stream to which to write our bundle's files.

Overrides:
createOutputStream in class MetadataBundlerTask
Throws:
IOException

nextEntry

protected OutputStream nextEntry(OutputStream lastEntry,
                                 String path)
                          throws IOException
Description copied from class: MetadataBundlerTask
Advances to the next named entry in the bundle and returns the stream to which to write that entry.

Overrides:
nextEntry in class MetadataBundlerTask
Throws:
IOException