net.ontopia.infoset.core
Interface PreloaderIF

All Known Implementing Classes:
DiskPreloader

public interface PreloaderIF

INTERNAL: Interface for preloading locators.


Method Summary
 boolean needsPreloading(LocatorIF locator)
          INTERNAL: Can be used to figure out if it is necessary to preload the resource referenced by the locator.
 LocatorIF preload(LocatorIF locator)
          INTERNAL: Preloads the resource pointed to by the given locator.
 

Method Detail

preload

LocatorIF preload(LocatorIF locator)
                  throws java.io.IOException
INTERNAL: Preloads the resource pointed to by the given locator.

Returns:
Returns a locator that references the preloaded resource.
Throws:
java.io.IOException

needsPreloading

boolean needsPreloading(LocatorIF locator)
INTERNAL: Can be used to figure out if it is necessary to preload the resource referenced by the locator.



Copyright © 2000-2012 Ontopia.