Changeset 246:fd9c62a2998e for dwt/dnd/HTMLTransfer.d
- Timestamp:
- 07/01/08 04:15:59 (6 months ago)
- Files:
-
- dwt/dnd/HTMLTransfer.d (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/dnd/HTMLTransfer.d
r237 r246 1 1 /******************************************************************************* 2 * Copyright (c) 2000, 200 6IBM Corporation and others.2 * Copyright (c) 2000, 2008 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials 4 4 * are made available under the terms of the Eclipse Public License v1.0 … … 28 28 * The class <code>HTMLTransfer</code> provides a platform specific mechanism 29 29 * for converting text in HTML format represented as a java <code>String</code> 30 * to a platform specific representation of the data and vice versa. See 31 * <code>Transfer</code> for additional information. 30 * to a platform specific representation of the data and vice versa. 32 31 * 33 32 * <p>An example of a java <code>String</code> containing HTML text is shown … … 37 36 * String htmlData = "<p>This is a paragraph of text.</p>"; 38 37 * </code></pre> 38 * 39 * @see Transfer 39 40 */ 40 41 public class HTMLTransfer : ByteArrayTransfer { … … 75 76 * This implementation of <code>javaToNative</code> converts HTML-formatted text 76 77 * represented by a java <code>String</code> to a platform specific representation. 77 * For additional information see <code>Transfer#javaToNative</code>.78 78 * 79 79 * @param object a java <code>String</code> containing HTML text 80 * @param transferData an empty <code>TransferData</code> object; this 81 * object will be filled in on return with the platform specific format of the data 80 * @param transferData an empty <code>TransferData</code> object that will 81 * be filled in on return with the platform specific format of the data 82 * 83 * @see Transfer#nativeToJava 82 84 */ 83 85 public void javaToNative (Object object, TransferData transferData){ … … 146 148 * This implementation of <code>nativeToJava</code> converts a platform specific 147 149 * representation of HTML text to a java <code>String</code>. 148 * For additional information see <code>Transfer#nativeToJava</code>.149 * 150 * @ param transferData the platform specific representation of the data to be151 * been converted152 * @return a java <code>String</code> containing HTML text if the153 * conversion was successful; otherwise null150 * 151 * @param transferData the platform specific representation of the data to be converted 152 * @return a java <code>String</code> containing HTML text if the conversion was successful; 153 * otherwise null 154 * 155 * @see Transfer#javaToNative 154 156 */ 155 157 public Object nativeToJava(TransferData transferData){
