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
 java.io.Reader createReader(LocatorIF locator)
          INTERNAL: Returns a reader that can read the contents of the resource referenced by the locator.
 

Method Detail

createReader

java.io.Reader createReader(LocatorIF locator)
                            throws java.io.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:
java.io.IOException


Copyright © 2000-2012 Ontopia.