info.aduna.autofocus.gui
Class ResourceOpener

java.lang.Object
  extended by info.aduna.autofocus.gui.ResourceOpener

public class ResourceOpener
extends Object


Constructor Summary
ResourceOpener()
           
 
Method Summary
static void open(Item item, Component parent)
          Opens the specified resource in the platform-specific way.
static void open(org.openrdf.model.URI resource, Component parent)
          Opens the specified resource in the platform-specific way.
static void open(org.openrdf.model.URI idUri, InfoSource source, Component parent)
          Opens the specified resource in the platform-specific way.
static void open(org.openrdf.model.URI idUri, org.openrdf.repository.Repository repository, Component parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceOpener

public ResourceOpener()
Method Detail

open

public static void open(Item item,
                        Component parent)
Opens the specified resource in the platform-specific way. A warning is given before opening executable files, giving the user the option to cancel it.


open

public static void open(org.openrdf.model.URI idUri,
                        org.openrdf.repository.Repository repository,
                        Component parent)

open

public static void open(org.openrdf.model.URI idUri,
                        InfoSource source,
                        Component parent)
Opens the specified resource in the platform-specific way. A warning is given before opening executable files, giving the user the option to cancel it. The URI that will be used for retrieval will be derived from the specified ID using the InfoSource's prepare method.


open

public static void open(org.openrdf.model.URI resource,
                        Component parent)
Opens the specified resource in the platform-specific way. A warning is given before opening executable files, giving the user the option to cancel it. When opening a crawled item, the specified URI must be a "prepared URI", as produced by the corresponding data source, or (even better) use the openItem method.



Copyright © 1997-2008 Aduna. All Rights Reserved.