org.apache.droids.norobots
Class SimpleContentLoader

java.lang.Object
  extended by org.apache.droids.norobots.SimpleContentLoader
All Implemented Interfaces:
ContentLoader

public class SimpleContentLoader
extends java.lang.Object
implements ContentLoader

A simple implementation of ContentLoader based on URLConnection.


Constructor Summary
SimpleContentLoader()
           
 
Method Summary
 boolean exists(java.net.URI uri)
           
 java.io.InputStream load(java.net.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleContentLoader

public SimpleContentLoader()
Method Detail

exists

public boolean exists(java.net.URI uri)
               throws java.io.IOException
Specified by:
exists in interface ContentLoader
Throws:
java.io.IOException

load

public java.io.InputStream load(java.net.URI uri)
                         throws java.io.IOException
Specified by:
load in interface ContentLoader
Throws:
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.