Java™ Platform
Standard Ed. 6

Class SerialDatalink

  extended by 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 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 object, which can be used to manipulate the external data. url = rowset.getURL(1);

See Also:
Serialized Form

Constructor Summary
SerialDatalink(URL url)
          Constructs a new SerialDatalink object from the given object.
Method Summary
 URL getDatalink()
          Returns a new URL that is a copy of this SerialDatalink object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SerialDatalink(URL url)
               throws SerialException
Constructs a new SerialDatalink object from the given object.

SerialException - if url parameter is a null
Method Detail


public URL getDatalink()
                throws SerialException
Returns a new URL that is a copy of this SerialDatalink object.

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

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.