org.kuali.rice.kew.batch
Class DirectoryXmlDocCollection

java.lang.Object
  extended by org.kuali.rice.kew.batch.DirectoryXmlDocCollection
All Implemented Interfaces:
XmlDocCollection

public class DirectoryXmlDocCollection
extends java.lang.Object

An XmlDocCollection backed by a directory of XML files

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  java.io.File file
           
protected  java.util.List<org.kuali.rice.kew.batch.BaseXmlDoc> xmlDocs
           
 
Constructor Summary
DirectoryXmlDocCollection(java.io.File dir)
           
 
Method Summary
 void close()
           
 java.io.File getFile()
           
 java.util.List<? extends XmlDoc> getXmlDocs()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

file

protected java.io.File file

xmlDocs

protected java.util.List<org.kuali.rice.kew.batch.BaseXmlDoc> xmlDocs
Constructor Detail

DirectoryXmlDocCollection

public DirectoryXmlDocCollection(java.io.File dir)
Method Detail

getFile

public java.io.File getFile()
Specified by:
getFile in interface XmlDocCollection

getXmlDocs

public java.util.List<? extends XmlDoc> getXmlDocs()
Specified by:
getXmlDocs in interface XmlDocCollection

close

public void close()
           throws java.io.IOException
Specified by:
close in interface XmlDocCollection
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.