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 11 java.sql.rowset.jmod - SQL Rowset Module
JDK 11 java.sql.rowset.jmod is the JMOD file for JDK 11 SQL Rowset module.
JDK 11 SQL Rowset module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.sql.rowset.jmod.
JDK 11 SQL Rowset module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 SQL Rowset module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.sql.rowset.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/sql/rowset/serial/SerialDatalink.java
/* * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.sql.rowset.serial; import java.sql.*; import java.io.*; import java.net.URL; /** * A serialized mapping in the Java programming language of an SQL * <code>DATALINK</code> value. A <code>DATALINK</code> value * references a file outside of the underlying data source that the * data source manages. * <P> * <code>RowSet</code> implementations can use the method <code>RowSet.getURL</code> * to retrieve a <code>java.net.URL</code> object, which can be used * to manipulate the external data. * <pre> * java.net.URL url = rowset.getURL(1); * </pre> * * <h3> Thread safety </h3> * * A SerialDatalink is not safe for use by multiple concurrent threads. If a * SerialDatalink is to be used by more than one thread then access to the * SerialDatalink should be controlled by appropriate synchronization. * * @since 1.5 */ public class SerialDatalink implements Serializable, Cloneable { /** * The extracted URL field retrieved from the DATALINK field. * @serial */ private URL url; /** * The SQL type of the elements in this <code>SerialDatalink</code> * object. The type is expressed as one of the constants from the * class <code>java.sql.Types</code>. * @serial */ private int baseType; /** * The type name used by the DBMS for the elements in the SQL * <code>DATALINK</code> value that this SerialDatalink object * represents. * @serial */ private String baseTypeName; /** * Constructs a new <code>SerialDatalink</code> object from the given * <code>java.net.URL</code> object. * * @param url the {@code URL} to create the {@code SerialDataLink} from * @throws SerialException if url parameter is a null */ public SerialDatalink(URL url) throws SerialException { if (url == null) { throw new SerialException("Cannot serialize empty URL instance"); } this.url = url; } /** * Returns a new URL that is a copy of this <code>SerialDatalink</code> * object. * * @return a copy of this <code>SerialDatalink</code> object as a * <code>URL</code> object in the Java programming language. * @throws SerialException if the <code>URL</code> object cannot be de-serialized */ public URL getDatalink() throws SerialException { URL aURL = null; try { aURL = new URL((this.url).toString()); } catch (java.net.MalformedURLException e) { throw new SerialException("MalformedURLException: " + e.getMessage()); } return aURL; } /** * Compares this {@code SerialDatalink} to the specified object. * The result is {@code true} if and only if the argument is not * {@code null} and is a {@code SerialDatalink} object whose URL is * identical to this object's URL * * @param obj The object to compare this {@code SerialDatalink} against * * @return {@code true} if the given object represents a {@code SerialDatalink} * equivalent to this SerialDatalink, {@code false} otherwise * */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof SerialDatalink) { SerialDatalink sdl = (SerialDatalink) obj; return url.equals(sdl.url); } return false; } /** * Returns a hash code for this {@code SerialDatalink}. The hash code for a * {@code SerialDatalink} object is taken as the hash code of * the {@code URL} it stores * * @return a hash code value for this object. */ public int hashCode() { return 31 + url.hashCode(); } /** * Returns a clone of this {@code SerialDatalink}. * * @return a clone of this SerialDatalink */ public Object clone() { try { SerialDatalink sdl = (SerialDatalink) super.clone(); return sdl; } catch (CloneNotSupportedException ex) { // this shouldn't happen, since we are Cloneable throw new InternalError(); } } /** * readObject and writeObject are called to restore the state * of the {@code SerialDatalink} * from a stream. Note: we leverage the default Serialized form */ /** * The identifier that assists in the serialization of this * {@code SerialDatalink} object. */ static final long serialVersionUID = 2826907821828733626L; }
⏎ javax/sql/rowset/serial/SerialDatalink.java
Or download all of them as a single archive file:
File name: java.sql.rowset-11.0.1-src.zip File size: 332154 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.transaction.xa.jmod - Transaction XA Module
2020-08-25, 21367👍, 0💬
Popular Posts:
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software ...
How to download and install Apache XMLBeans Source Package? The source package contains Java source ...
Jetty provides an HTTP server, HTTP client, and javax.servlet container. These components are open s...
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...