public class

SerialDatalink

extends Object
implements Serializable Cloneable
java.lang.Object
   ↳ javax.sql.rowset.serial.SerialDatalink

Class Overview

A serialized mapping in the Java programming language of an SQL DATALINK value. A DATALINK value references a file outside of the underlying data source that the data source manages.

RowSet implementations can use the method RowSet.getURL to retrieve a java.net.URL object, which can be used to manipulate the external data.

      java.net.URL url = rowset.getURL(1);
 

Summary

Public Constructors
SerialDatalink(URL url)
Constructs a new SerialDatalink object from the given java.net.URL object.
Public Methods
URL getDatalink()
Returns a new URL that is a copy of this SerialDatalink object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SerialDatalink (URL url)

Constructs a new SerialDatalink object from the given java.net.URL object.

Throws
SerialException if url parameter is a null

Public Methods

public URL getDatalink ()

Returns a new URL that is a copy of this SerialDatalink object.

Returns
  • a copy of this SerialDatalink object as a URL object in the Java programming language.
Throws
SerialException if the URL object cannot be de-serialized