|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taleo.integration.client.customstep.velocity.FileTool
com.taleo.integration.client.customstep.velocity.XmlExportFileTool
public class XmlExportFileTool
Class to expose an XML export results file properties and content into Velocity templates.
Constructor Summary | |
---|---|
XmlExportFileTool(java.io.File file)
Constructor with the export file. |
Method Summary | |
---|---|
java.lang.String |
content()
Return the file content. |
java.util.Date |
lastModified()
Return the file last modified date. |
int |
lineCount()
Return the line count including the header row if present. |
java.lang.String |
name()
Return the file name. |
java.lang.String |
path()
Return the file absolute path. |
int |
recordCount()
Return the record count. |
long |
size()
Return the file size. |
Methods inherited from class com.taleo.integration.client.customstep.velocity.FileTool |
---|
content, content, lastModified, lineCount, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlExportFileTool(java.io.File file)
file
- The export file.Method Detail |
---|
public java.lang.String name()
public java.lang.String path()
public java.util.Date lastModified()
public long size()
public java.lang.String content() throws java.io.IOException
java.io.IOException
public int lineCount() throws java.io.IOException
java.io.IOException
public int recordCount() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |