org.apache.xml.utils
Class SecuritySupport

java.lang.Object
  extended by org.apache.xml.utils.SecuritySupport

final class SecuritySupport
extends java.lang.Object

This class is duplicated for each Xalan-Java subpackage so keep it in sync. It is package private and therefore is not exposed as part of the Xalan-Java API. Security related methods that only work on J2SE 1.2 and newer.


Constructor Summary
private SecuritySupport()
           
 
Method Summary
(package private) static java.lang.ClassLoader getContextClassLoader()
           
(package private) static boolean getFileExists(java.io.File f)
           
(package private) static java.io.FileInputStream getFileInputStream(java.io.File file)
           
(package private) static long getLastModified(java.io.File f)
           
(package private) static java.lang.ClassLoader getParentClassLoader(java.lang.ClassLoader cl)
           
(package private) static java.io.InputStream getResourceAsStream(java.lang.ClassLoader cl, java.lang.String name)
           
(package private) static java.lang.ClassLoader getSystemClassLoader()
           
(package private) static java.lang.String getSystemProperty(java.lang.String propName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuritySupport

private SecuritySupport()
Method Detail

getContextClassLoader

static java.lang.ClassLoader getContextClassLoader()

getSystemClassLoader

static java.lang.ClassLoader getSystemClassLoader()

getParentClassLoader

static java.lang.ClassLoader getParentClassLoader(java.lang.ClassLoader cl)

getSystemProperty

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

getFileInputStream

static java.io.FileInputStream getFileInputStream(java.io.File file)
                                           throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

getResourceAsStream

static java.io.InputStream getResourceAsStream(java.lang.ClassLoader cl,
                                               java.lang.String name)

getFileExists

static boolean getFileExists(java.io.File f)

getLastModified

static long getLastModified(java.io.File f)