com.hp.hpl.jena
Class JenaRuntime

java.lang.Object
  extended by com.hp.hpl.jena.JenaRuntime

public class JenaRuntime
extends java.lang.Object

Methods and constants that define features of the current the environment. Primarily for other parts of the Jena framework.

Version:
$Id: JenaRuntime.java,v 1.2 2009/10/11 16:56:52 andy_seaborne Exp $
Author:
Andy Seaborne

Field Summary
static java.lang.String featureNoCharset
          The JVM does not implement java.nio.charset.Charset operations (correctly)
static java.lang.String featureNoSecurity
          The JVM does not implement java.security (correctly)
 
Constructor Summary
JenaRuntime()
           
 
Method Summary
static java.lang.String getLineSeparator()
           
static java.lang.String getMetadata(java.lang.String key, java.lang.String defaultValue)
           
static java.lang.String getSystemProperty(java.lang.String propName)
           
static java.lang.String getSystemProperty(java.lang.String propName, java.lang.String defaultValue)
           
static boolean runNotUnder(java.lang.String featureName)
           
static boolean runUnder(java.lang.String featureName)
           
static void setFeature(java.lang.String featureName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

featureNoSecurity

public static final java.lang.String featureNoSecurity
The JVM does not implement java.security (correctly)

See Also:
Constant Field Values

featureNoCharset

public static final java.lang.String featureNoCharset
The JVM does not implement java.nio.charset.Charset operations (correctly)

See Also:
Constant Field Values
Constructor Detail

JenaRuntime

public JenaRuntime()
Method Detail

getMetadata

public static java.lang.String getMetadata(java.lang.String key,
                                           java.lang.String defaultValue)

setFeature

public static void setFeature(java.lang.String featureName)

runUnder

public static boolean runUnder(java.lang.String featureName)

runNotUnder

public static boolean runNotUnder(java.lang.String featureName)

getLineSeparator

public static java.lang.String getLineSeparator()

getSystemProperty

public static java.lang.String getSystemProperty(java.lang.String propName)

getSystemProperty

public static java.lang.String getSystemProperty(java.lang.String propName,
                                                 java.lang.String defaultValue)


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP