IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.5.0

javax.sql.rowset.serial
Class SerialDatalink

java.lang.Object
  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 java.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
SerialDatalink(URL url)
          Constructs a new SerialDatalink object from the given java.net.URL 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

SerialDatalink

public SerialDatalink(URL url)
               throws SerialException
Constructs a new SerialDatalink object from the given java.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 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

Copyright 2003 Sun Microsystems, Inc. All rights reserved