com.hp.hpl.jena
Class JenaRuntime

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

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

Field Detail

featureNoSecurity

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

See Also:
Constant Field Values

featureNoCharset

public static final 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 String getMetadata(String key,
                                 String defaultValue)

setFeature

public static void setFeature(String featureName)

runUnder

public static boolean runUnder(String featureName)

runNotUnder

public static boolean runNotUnder(String featureName)

getLineSeparator

public static String getLineSeparator()

getSystemProperty

public static String getSystemProperty(String propName)

getSystemProperty

public static String getSystemProperty(String propName,
                                       String defaultValue)


Licenced under the Apache License, Version 2.0