com.atlassian.jira.jelly.tag.util
Class CsvTag

java.lang.Object
  extended byTagSupport
      extended bycom.atlassian.jira.jelly.tag.util.CsvTag

public class CsvTag
extends TagSupport

A tag to parse a CSV file into a Jelly variable.

Usage:
<jira:csv var="foo" file="c:\temp\bar.csv" />

'foo' will then be a two dimensional array representing the rows and columns in the CSV file.

See Also:
Serialized Form

Constructor Summary
CsvTag()
           
 
Method Summary
 void doTag(XMLOutput xmlOutput)
           
 java.io.File getFile()
           
 java.lang.String getUri()
           
 java.lang.String getVar()
           
 void setFile(java.io.File file)
           
 void setUri(java.lang.String uri)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvTag

public CsvTag()
Method Detail

doTag

public void doTag(XMLOutput xmlOutput)
           throws MissingAttributeException,
                  JellyTagException
Throws:
MissingAttributeException
JellyTagException

getVar

public java.lang.String getVar()

setVar

public void setVar(java.lang.String var)

getFile

public java.io.File getFile()

setFile

public void setFile(java.io.File file)

getUri

public java.lang.String getUri()

setUri

public void setUri(java.lang.String uri)