URLTransfer

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

<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

Members

Functions

javaToNative
void javaToNative(Object object, TransferData transferData)

This implementation of <code>javaToNative</code> converts a URL represented by a java <code>String</code> to a platform specific representation.

nativeToJava
Object nativeToJava(TransferData transferData)

This implementation of <code>nativeToJava</code> converts a platform specific representation of a URL to a java <code>String</code>.

Static functions

getInstance
URLTransfer getInstance()

Returns the singleton instance of the URLTransfer class.

Inherited Members

From ByteArrayTransfer

javaToNative
void javaToNative(Object object, TransferData transferData)

This implementation of <code>javaToNative</code> converts a java <code>byte[]</code> to a platform specific representation.

nativeToJava
Object nativeToJava(TransferData transferData)

This implementation of <code>nativeToJava</code> converts a platform specific representation of a byte array to a java <code>byte[]</code>.

Meta