2362N/A * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * VersionHelper was used by JNDI to accommodate differences between 0N/A * JDK 1.1.x and the Java 2 platform. As this is no longer necessary 0N/A * since JNDI's inclusion in the platform, this class currently 0N/A * serves as a set of utilities for performing system-level things, 0N/A * such as class-loading and reading system properties. 0N/A * @author Rosanna Lee 0N/A * @author Scott Seligman 0N/A // The following shouldn't create a runtime dependence on ldap package. 0N/A * Returns a JNDI property from the system properties. Returns 0N/A * null if the property is not set, or if there is no permission 0N/A * Reads each property in PROPS from the system properties, and 0N/A * returns their values -- in order -- in an array. For each 0N/A * unset property, the corresponding array element is set to null. 0N/A * Returns null if there is no permission to call System.getProperties(). 0N/A * Returns the resource of a given name associated with a particular 0N/A * class (never null), or null if none can be found. 0N/A * Returns an input stream for a file in <java.home>/lib, 0N/A * or null if it cannot be located or opened. 0N/A * @param filename The file name, sans directory. 0N/A * Returns an enumeration (never null) of InputStreams of the 0N/A * resources of a given name associated with a particular class 0N/A * loader. Null represents the bootstrap class loader in some 0N/A * Java implementations. 0N/A * Returns the context class loader associated with the current thread. 0N/A * Null indicates the bootstrap class loader in some Java implementations. 0N/A * @throws SecurityException if the class loader is not accessible. 0N/A // Parse codebase into separate URLs