com.bbn.jena
Class JenaPlugin

java.lang.Object
  extended byPlugin
      extended bycom.bbn.jena.JenaPlugin

public class JenaPlugin
extends Plugin

Plugin class for com.bbn.jena. Contains convenience methods for working with the Jena classpath container.

Author:
jlerner
See Also:
Serialized Form

Constructor Summary
JenaPlugin()
          Constructs a new JenaPlugin and sets it as the one and only instance.
 
Method Summary
static void addJenaToClasspath(IJavaProject project)
          Adds the Jena container to a Java project's classpath.
 String[] getJenaLibraryLocations()
          Compiles a list of .jar file locations for the Jena library.
static JenaPlugin getJenaPlugin()
          Provides access to the one and only instance of JenaPlugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenaPlugin

public JenaPlugin()
Constructs a new JenaPlugin and sets it as the one and only instance.

Method Detail

getJenaPlugin

public static JenaPlugin getJenaPlugin()
Provides access to the one and only instance of JenaPlugin.

Returns:
The singleton instance

getJenaLibraryLocations

public String[] getJenaLibraryLocations()
Compiles a list of .jar file locations for the Jena library.

Returns:
An array of strings specifying filesystem paths for each .jar file to be included in the Jena container

addJenaToClasspath

public static void addJenaToClasspath(IJavaProject project)
                               throws JavaModelException
Adds the Jena container to a Java project's classpath. If Jena is already there, nothing happens.

Parameters:
project - The project to receive the Jena classpath container
Throws:
JavaModelException - if the classpath cannot be updated


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.