net.ontopia.infoset.core
Interface LocatorReaderFactoryIF

All Known Implementing Classes:
DiskPreloader, URLLocatorReaderFactory

public interface LocatorReaderFactoryIF

INTERNAL: Factory that creates a Reader from a LocatorIF.


Method Summary
 Reader createReader(LocatorIF locator)
          INTERNAL: Returns a reader that can read the contents of the resource referenced by the locator.
 

Method Detail

createReader

Reader createReader(LocatorIF locator)
                    throws IOException
INTERNAL: Returns a reader that can read the contents of the resource referenced by the locator.

Returns:
A reader for the locator. An IOException is thrown if a reader cannot be created.
Throws:
IOException


Copyright © 2000-2012 Ontopia.