- java.lang.Object
-
- javax.sql.rowset.serial.SerialDatalink
-
- All Implemented Interfaces:
- Serializable, Cloneable
public class SerialDatalink extends Object implements Serializable, Cloneable
A serialized mapping in the Java programming language of an SQLDATALINK
value. ADATALINK
value references a file outside of the underlying data source that the data source manages.RowSet
implementations can use the methodRowSet.getURL
to retrieve ajava.net.URL
object, which can be used to manipulate the external data.java.net.URL url = rowset.getURL(1);
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SerialDatalink(URL url)
Constructs a newSerialDatalink
object from the givenjava.net.URL
object.
-
-
-
Constructor Detail
-
SerialDatalink
public SerialDatalink(URL url) throws SerialException
Constructs a newSerialDatalink
object from the givenjava.net.URL
object.- Throws:
SerialException
- if url parameter is a null
-
-
Method Detail
-
getDatalink
public URL getDatalink() throws SerialException
Returns a new URL that is a copy of thisSerialDatalink
object.- Returns:
- a copy of this
SerialDatalink
object as aURL
object in the Java programming language. - Throws:
SerialException
- if theURL
object cannot be de-serialized
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/sql/rowset/serial/serialdatalink.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.