diff dwt/dnd/URLTransfer.d @ 246:fd9c62a2998e

Updater SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Tue, 01 Jul 2008 10:15:59 +0200
parents e2affbeb686d
children da968414c383
line wrap: on
line diff
--- a/dwt/dnd/URLTransfer.d	Tue Jul 01 08:58:50 2008 +0200
+++ b/dwt/dnd/URLTransfer.d	Tue Jul 01 10:15:59 2008 +0200
@@ -27,16 +27,16 @@
 /**
  * The class <code>URLTransfer</code> provides a platform specific mechanism
  * for converting text in URL format represented as a java <code>String</code> 
- * to a platform specific representation of the data and vice versa.  See
- * <code>Transfer</code> for additional information. The string 
+ * to a platform specific representation of the data and vice versa. The string
  * must contain a fully specified url.
  *
- * <p>An example of a java <code>String</code> containing a URL is shown 
- * below:</p>
+ * <p>An example of a java <code>String</code> containing a URL is shown below:</p>
  *
  * <code><pre>
  *     String url = "http://www.eclipse.org";
  * </code></pre>
+ *
+ * @see Transfer
  */
 public class URLTransfer : ByteArrayTransfer {
 
@@ -69,11 +69,12 @@
 /**
  * This implementation of <code>javaToNative</code> converts a URL
  * represented by a java <code>String</code> to a platform specific representation.
- * For additional information see <code>Transfer#javaToNative</code>.
  *
  * @param object a java <code>String</code> containing a URL
- * @param transferData an empty <code>TransferData</code> object; this
- *  object will be filled in on return with the platform specific format of the data
+ * @param transferData an empty <code>TransferData</code> object that will
+ *      be filled in on return with the platform specific format of the data
+ * 
+ * @see Transfer#nativeToJava
  */
 public void javaToNative (Object object, TransferData transferData){
     if (!checkURL(object) || !isSupportedType(transferData)) {
@@ -101,14 +102,14 @@
 }
 
 /**
- * This implementation of <code>nativeToJava</code> converts a platform specific
- * representation of a URL to a java <code>String</code>.
- * For additional information see <code>Transfer#nativeToJava</code>.
- *
- * @param transferData the platform specific representation of the data to be
- * converted
- * @return a java <code>String</code> containing a URL if the 
- * conversion was successful; otherwise null
+ * This implementation of <code>nativeToJava</code> converts a platform 
+ * specific representation of a URL to a java <code>String</code>.
+ * 
+ * @param transferData the platform specific representation of the data to be converted
+ * @return a java <code>String</code> containing a URL if the conversion was successful;
+ *      otherwise null
+ * 
+ * @see Transfer#javaToNative
  */
 public Object nativeToJava(TransferData transferData){
     if (!isSupportedType(transferData) || transferData.pIDataObject is null) return null;