org.apache.maven.jelly.tags.maven
Class ConcatTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.maven.jelly.tags.BaseTagSupport
          extended byorg.apache.maven.jelly.tags.maven.MavenTag
              extended byorg.apache.maven.jelly.tags.maven.ConcatTag
All Implemented Interfaces:
Tag

public class ConcatTag
extends MavenTag

Concat a set of files together into a single file.

Version:
$Id: ConcatTag.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ConcatTag()
           
 
Method Summary
 void addFile(java.io.File file)
          Add a file to the list of files of be concatenated.
 void doTag(XMLOutput output)
          Perform functionality provided by the tag.
 void setOutputFile(java.io.File outputFile)
          Set output file.
 
Methods inherited from class org.apache.maven.jelly.tags.maven.MavenTag
getDescriptor, getGoals, isIgnoreFailures, setBasedir, setDescriptor, setGoals, setIgnoreFailures
 
Methods inherited from class org.apache.maven.jelly.tags.BaseTagSupport
checkAttribute, getMavenContext
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatTag

public ConcatTag()
Method Detail

setOutputFile

public void setOutputFile(java.io.File outputFile)
Set output file.


addFile

public void addFile(java.io.File file)
Add a file to the list of files of be concatenated.


doTag

public void doTag(XMLOutput output)
           throws MissingAttributeException,
                  JellyTagException
Perform functionality provided by the tag.

Specified by:
doTag in interface Tag
Overrides:
doTag in class MavenTag
Parameters:
output - for providing xml output
Throws:
JellyTagException - If there is an error while concatenating the file.
MissingAttributeException


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.