Changeset 246:fd9c62a2998e for dwt/dnd/FileTransfer.d
- Timestamp:
- 07/01/08 04:15:59 (6 months ago)
- Files:
-
- dwt/dnd/FileTransfer.d (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/dnd/FileTransfer.d
r212 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 … … 31 31 * Each <code>String</code> in the array contains the absolute path for a single 32 32 * file or directory. 33 * See <code>Transfer</code> for additional information.34 33 * 35 34 * <p>An example of a java <code>String[]</code> containing a list of files is shown … … 43 42 * fileData[1] = file2.getAbsolutePath(); 44 43 * </code></pre> 44 * 45 * @see Transfer 45 46 */ 46 47 public class FileTransfer : ByteArrayTransfer { … … 73 74 * represented by a java <code>String[]</code> to a platform specific representation. 74 75 * Each <code>String</code> in the array contains the absolute path for a single 75 * file or directory. For additional information see76 * <code>Transfer#javaToNative</code>.77 * 78 * @param object a java <code>String[]</code> containing the file names to be79 * converted80 * @param transferData an empty <code>TransferData</code> object; this81 * object will be filled in on return with the platform specific format of the data76 * file or directory. 77 * 78 * @param object a java <code>String[]</code> containing the file names to be converted 79 * @param transferData an empty <code>TransferData</code> object that will 80 * be filled in on return with the platform specific format of the data 81 * 82 * @see Transfer#nativeToJava 82 83 */ 83 84 public void javaToNative(Object object, TransferData transferData) { … … 117 118 * representation of a list of file names to a java <code>String[]</code>. 118 119 * Each String in the array contains the absolute path for a single file or directory. 119 * For additional information see <code>Transfer#nativeToJava</code>.120 120 * 121 * @param transferData the platform specific representation of the data to be 122 * been converted 123 * @return a java <code>String[]</code> containing a list of file names if the 124 * conversion was successful; otherwise null 121 * @param transferData the platform specific representation of the data to be converted 122 * @return a java <code>String[]</code> containing a list of file names if the conversion 123 * was successful; otherwise null 124 * 125 * @see Transfer#javaToNative 125 126 */ 126 127 public Object nativeToJava(TransferData transferData) {
