org.cyberneko.dtd
Class SecuritySupport
java.lang.Object
org.cyberneko.dtd.SecuritySupport
- Direct Known Subclasses:
- SecuritySupport12
class SecuritySupport
- extends java.lang.Object
This class is duplicated for each JAXP subpackage so keep it in sync.
It is package private and therefore is not exposed as part of the JAXP
API.
Base class with security related methods that work on JDK 1.1.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecuritySupport
SecuritySupport()
getInstance
static SecuritySupport getInstance()
- Return an appropriate instance of this class, depending on whether
we're on a JDK 1.1 or J2SE 1.2 (or later) system.
getContextClassLoader
java.lang.ClassLoader getContextClassLoader()
getSystemClassLoader
java.lang.ClassLoader getSystemClassLoader()
getParentClassLoader
java.lang.ClassLoader getParentClassLoader(java.lang.ClassLoader cl)
getSystemProperty
java.lang.String getSystemProperty(java.lang.String propName)
getFileInputStream
java.io.FileInputStream getFileInputStream(java.io.File file)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
getResourceAsStream
java.io.InputStream getResourceAsStream(java.lang.ClassLoader cl,
java.lang.String name)
getFileExists
boolean getFileExists(java.io.File f)
getLastModified
long getLastModified(java.io.File f)
Copyright 2006 null. All Rights Reserved.