Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/util/PropertyResourceBundle.java
/* * @(#)PropertyResourceBundle.java 1.9 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * @(#)PropertyResourceBundle.java 1.9 01/12/10 * * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved * (C) Copyright IBM Corp. 1996 - All Rights Reserved * * Portions copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved. * * The original version of this source code and documentation is copyrighted * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These * materials are provided under terms of a License Agreement between Taligent * and Sun. This technology is protected by multiple US and International * patents. This notice and attribution to Taligent may not be removed. * Taligent is a registered trademark of Taligent, Inc. * * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL purposes and without * fee is hereby granted provided that this copyright notice * appears in all copies. Please refer to the file "copyright.html" * for further important copyright and licensing information. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. * */ package java.util; import java.util.Properties; import java.io.InputStream; import java.io.IOException; /** * <code>PropertyResourceBundle</code> is an abstract subclass of * <code>ResourceBundle</code> that manages resources for a locale * using a set of static strings from a property file. See * <code>ResourceBundle</code> for more information about resource * bundles in general. * * <p> * The property file contains the keys that you use in your source code * in calls to <code>ResourceBundle.getString</code> and similar methods, * and their corresponding values, etc. * The name of the property file indicates the resource bundle's family * and locale. * * <p> * In the following example, the keys are of the form "s1"... The actual * keys are entirely up to your choice, so long as they are the same as * the keys you use in your program to retrieve the objects from the bundle. * Keys are case-sensitive. * <blockquote> * <pre> * s1=3 * s2=MeinDisk * s3=3 Mar 96 * s4=Der disk '{1}' a {0} a {2}. * s5=0 * s6=keine Datein * s7=1 * s8=ein Datei * s9=2 * s10={0}|3 Datein * s11=Der Format worf ein Exception: {0} * s12=ERROR * s14=Resulte * s13=Dialogue * s15=Pattern * s16=1,3 * </pre> * </blockquote> * * @see ResourceBundle * @see ListResourceBundle */ public class PropertyResourceBundle extends ResourceBundle { /** * Creates a property resource * @param file property file to read from. */ public PropertyResourceBundle (InputStream stream) throws IOException { lookup.load(stream); } /** * Override of ResourceBundle, same semantics */ public Object handleGetObject(String key) { Object obj = lookup.get(key); return obj; // once serialization is in place, you can do non-strings } /** * Implementation of ResourceBundle.getKeys. */ public Enumeration getKeys() { Enumeration result = null; if (parent != null) { final Enumeration myKeys = lookup.keys(); final Enumeration parentKeys = parent.getKeys(); result = new Enumeration() { public boolean hasMoreElements() { if (temp == null) nextElement(); return temp != null; } public Object nextElement() { Object returnVal = temp; if (myKeys.hasMoreElements()) temp = myKeys.nextElement(); else { temp = null; while (temp == null && parentKeys.hasMoreElements()) { temp = parentKeys.nextElement(); if (lookup.containsKey(temp)) temp = null; } } return returnVal; } Object temp = null; }; } else { result = lookup.keys(); } return result; } // ==================privates==================== private Properties lookup = new Properties(); }
⏎ java/util/PropertyResourceBundle.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 149260👍, 0💬
Popular Posts:
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
How to download and install xml-commons External Source Package? The source package contains Java so...
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...
How to download and install Apache XMLBeans-2.6.0.zip? If you want to try the XMLBeans Java library,...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...