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:
JRE 8 rt.jar - javax.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the javax.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ javax/script/ScriptContext.java
/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.script; import java.util.List; import java.io.Writer; import java.io.Reader; /** * The interface whose implementing classes are used to connect Script Engines * with objects, such as scoped Bindings, in hosting applications. Each scope is a set * of named attributes whose values can be set and retrieved using the * <code>ScriptContext</code> methods. ScriptContexts also expose Readers and Writers * that can be used by the ScriptEngines for input and output. * * @author Mike Grogan * @since 1.6 */ public interface ScriptContext { /** * EngineScope attributes are visible during the lifetime of a single * <code>ScriptEngine</code> and a set of attributes is maintained for each * engine. */ public static final int ENGINE_SCOPE = 100; /** * GlobalScope attributes are visible to all engines created by same ScriptEngineFactory. */ public static final int GLOBAL_SCOPE = 200; /** * Associates a <code>Bindings</code> instance with a particular scope in this * <code>ScriptContext</code>. Calls to the <code>getAttribute</code> and * <code>setAttribute</code> methods must map to the <code>get</code> and * <code>put</code> methods of the <code>Bindings</code> for the specified scope. * * @param bindings The <code>Bindings</code> to associate with the given scope * @param scope The scope * * @throws IllegalArgumentException If no <code>Bindings</code> is defined for the * specified scope value in ScriptContexts of this type. * @throws NullPointerException if value of scope is <code>ENGINE_SCOPE</code> and * the specified <code>Bindings</code> is null. * */ public void setBindings(Bindings bindings, int scope); /** * Gets the <code>Bindings</code> associated with the given scope in this * <code>ScriptContext</code>. * * @return The associated <code>Bindings</code>. Returns <code>null</code> if it has not * been set. * * @param scope The scope * @throws IllegalArgumentException If no <code>Bindings</code> is defined for the * specified scope value in <code>ScriptContext</code> of this type. */ public Bindings getBindings(int scope); /** * Sets the value of an attribute in a given scope. * * @param name The name of the attribute to set * @param value The value of the attribute * @param scope The scope in which to set the attribute * * @throws IllegalArgumentException * if the name is empty or if the scope is invalid. * @throws NullPointerException if the name is null. */ public void setAttribute(String name, Object value, int scope); /** * Gets the value of an attribute in a given scope. * * @param name The name of the attribute to retrieve. * @param scope The scope in which to retrieve the attribute. * @return The value of the attribute. Returns <code>null</code> is the name * does not exist in the given scope. * * @throws IllegalArgumentException * if the name is empty or if the value of scope is invalid. * @throws NullPointerException if the name is null. */ public Object getAttribute(String name, int scope); /** * Remove an attribute in a given scope. * * @param name The name of the attribute to remove * @param scope The scope in which to remove the attribute * * @return The removed value. * @throws IllegalArgumentException * if the name is empty or if the scope is invalid. * @throws NullPointerException if the name is null. */ public Object removeAttribute(String name, int scope); /** * Retrieves the value of the attribute with the given name in * the scope occurring earliest in the search order. The order * is determined by the numeric value of the scope parameter (lowest * scope values first.) * * @param name The name of the the attribute to retrieve. * @return The value of the attribute in the lowest scope for * which an attribute with the given name is defined. Returns * null if no attribute with the name exists in any scope. * @throws NullPointerException if the name is null. * @throws IllegalArgumentException if the name is empty. */ public Object getAttribute(String name); /** * Get the lowest scope in which an attribute is defined. * @param name Name of the attribute * . * @return The lowest scope. Returns -1 if no attribute with the given * name is defined in any scope. * @throws NullPointerException if name is null. * @throws IllegalArgumentException if name is empty. */ public int getAttributesScope(String name); /** * Returns the <code>Writer</code> for scripts to use when displaying output. * * @return The <code>Writer</code>. */ public Writer getWriter(); /** * Returns the <code>Writer</code> used to display error output. * * @return The <code>Writer</code> */ public Writer getErrorWriter(); /** * Sets the <code>Writer</code> for scripts to use when displaying output. * * @param writer The new <code>Writer</code>. */ public void setWriter(Writer writer); /** * Sets the <code>Writer</code> used to display error output. * * @param writer The <code>Writer</code>. */ public void setErrorWriter(Writer writer); /** * Returns a <code>Reader</code> to be used by the script to read * input. * * @return The <code>Reader</code>. */ public Reader getReader(); /** * Sets the <code>Reader</code> for scripts to read input * . * @param reader The new <code>Reader</code>. */ public void setReader(Reader reader); /** * Returns immutable <code>List</code> of all the valid values for * scope in the ScriptContext. * * @return list of scope values */ public List<Integer> getScopes(); }
⏎ javax/script/ScriptContext.java
Or download all of them as a single archive file:
File name: jre-rt-javax-1.8.0_191-src.zip File size: 5381005 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - org.* Package Source Code
2024-03-15, 216092👍, 6💬
Popular Posts:
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
JDK 17 jdk.hotspot.agent.jmod is the JMOD file for JDK 17 Hotspot Agent module. JDK 17 Hotspot Agent...
Oracle Business Intelligence (BI) Beans enables developers to productively build business intelligen...
io.jar is a component in iText Java library to provide input/output functionalities. iText Java libr...
What Is log4j-1.2.13.jar? I got the JAR file from logging-log4j-1.2.13.zip .log4j-1.2.13.jar is the ...