uk.ac.ebi.intact.util.fileParsing
Class BeanStreamReader
java.lang.Object
|
+--uk.ac.ebi.intact.util.fileParsing.BeanStreamReader
- public class BeanStreamReader
- extends java.lang.Object
Allow to iterate through the line or the resource describe by a given URL.
|
Constructor Summary |
BeanStreamReader(java.lang.String sourceUrl,
java.lang.Class clazz)
|
BeanStreamReader(java.lang.String sourceUrl,
java.lang.Class clazz,
int lineToSkip)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanStreamReader
public BeanStreamReader(java.lang.String sourceUrl,
java.lang.Class clazz,
int lineToSkip)
throws java.net.MalformedURLException,
java.io.IOException,
java.lang.NoSuchMethodException
BeanStreamReader
public BeanStreamReader(java.lang.String sourceUrl,
java.lang.Class clazz)
throws java.net.MalformedURLException,
java.io.IOException,
java.lang.NoSuchMethodException
readBean
public java.lang.Object readBean()
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
close
public void close()
throws java.io.IOException
java.io.IOException
getItemCount
public int getItemCount()
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk