xxl.io
Class URLInputIterator
java.lang.Object
|
+--xxl.cursors.AbstractCursor
|
+--xxl.io.InputIterator
|
+--xxl.io.URLInputIterator
- public class URLInputIterator
- extends InputIterator
This class creates an InputIterator for a given URL.
Sample usage:
public static void main(String[] args) throws MalformedURLException{
URLInputIterator it = new URLInputIterator(
new Function(){
public Object invoke(){
return new KPE(2);
}
},
new URL("http://www.mathematik.uni-marburg.de/DBS/xxl/rr_small.bin")
);
while(it.hasNext())
System.out.println(it.next());
}
|
Method Summary |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
URLInputIterator
public URLInputIterator(Converter converter,
java.net.URL url,
int bufferSize)
URLInputIterator
public URLInputIterator(Function newObject,
java.net.URL url,
int bufferSize)
URLInputIterator
public URLInputIterator(Converter converter,
java.net.URL url)
URLInputIterator
public URLInputIterator(Function newObject,
java.net.URL url)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception