The class
FileTransfer
provides a platform specific mechanism for converting a list of files represented as a java
String[]
to a platform specific representation of the data and vice versa. Each
String
in the array contains the absolute path for a single file or directory.
An example of a java String[]
containing a list of files is shown below:
File file1 = new File("C:\temp\file1"); File file2 = new File("C:\temp\file2"); String[] fileData = new String[2]; fileData[0] = file1.getAbsolutePath(); fileData[1] = file2.getAbsolutePath();
@see Transfer