net.ontopia.infoset.core
Class Locators

java.lang.Object
  extended by net.ontopia.infoset.core.Locators

public class Locators
extends java.lang.Object

PUBLIC: Utilities for working with LocatorIFs.

Since:
3.4.1

Method Summary
static LocatorIF getURILocator(java.io.File file)
          PUBLIC: Given a File object, produce a corresponding URILocator that uses the URL scheme.
static LocatorIF getURILocator(java.lang.String uri)
          PUBLIC: Return a locator created from a uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getURILocator

public static LocatorIF getURILocator(java.lang.String uri)
PUBLIC: Return a locator created from a uri.


getURILocator

public static LocatorIF getURILocator(java.io.File file)
PUBLIC: Given a File object, produce a corresponding URILocator that uses the URL scheme.



Copyright © 2000-2012 Ontopia.