antsnest.io
Class TaskExtModelOutputStream

java.lang.Object
  extended by antsnest.io.TaskExtModelOutputStream

public class TaskExtModelOutputStream
extends Object

Responsible for outputting the Ant Task Extension Model

Author:
Chris Clohosy

Constructor Summary
TaskExtModelOutputStream()
           
 
Method Summary
 void write(AntInfo antInfo, File file)
          Outputs the user-defined tasks in the information object to an output stream
 void write(AntInfo antInfo, OutputStream outputStream)
          Outputs the user-defined tasks in the information object to an output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskExtModelOutputStream

public TaskExtModelOutputStream()
Method Detail

write

public void write(AntInfo antInfo,
                  OutputStream outputStream)
           throws AntIOException
Outputs the user-defined tasks in the information object to an output stream

Parameters:
antInfo - the information object
outputStream - the output stream to write to
Throws:
AntIOException - if there's a problem writing

write

public void write(AntInfo antInfo,
                  File file)
           throws AntIOException
Outputs the user-defined tasks in the information object to an output stream

Parameters:
antInfo - the information object
file - the file to write to
Throws:
AntIOException - if there's a problem writing