org.databene.platform.xls
Class XLSEntityIterator
java.lang.Object
org.databene.platform.xls.XLSEntityIterator
- All Implemented Interfaces:
- java.io.Closeable, java.util.Iterator<Entity>, org.databene.commons.HeavyweightIterator<Entity>
public class XLSEntityIterator
- extends java.lang.Object
- implements org.databene.commons.HeavyweightIterator<Entity>
Iterates an Excel sheet and maps its rows to Entity instances.
Created at 27.01.2009 21:38:31
- Since:
- 0.5.8
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XLSEntityIterator
public XLSEntityIterator(java.lang.String uri)
throws java.io.IOException
- Throws:
java.io.IOException
XLSEntityIterator
public XLSEntityIterator(java.lang.String uri,
org.databene.commons.Converter<java.lang.String,?> preprocessor)
throws java.io.IOException
- Throws:
java.io.IOException
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator<Entity>
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator<Entity>
next
public Entity next()
- Specified by:
next in interface java.util.Iterator<Entity>
close
public void close()
- Specified by:
close in interface java.io.Closeable
parseAll
public static java.util.List<Entity> parseAll(java.lang.String uri,
org.databene.commons.Converter<java.lang.String,?> preprocessor)
throws java.io.IOException
- Throws:
java.io.IOException
getUri
public java.lang.String getUri()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.