javaSig: Converts an R type name to a Java type
Description
When specifying a Java type in the .sigs
argument
of the different method/constructor calls to influence which
method is dispatched in the remote system and how R
objects are converted, one must use the appropriate type
specifier. This function converts R types to the corresponding
Java string. This handles converting R primitive types
such as integer to "I"
, double to "D"
,
logical to "Z"
, etc. and
classes to "Lpkg/subpkg/.../className;"
Arguments
name
The name of the R type whose corresponding
Java type identifier is being sought. If this
is specified as an object, its mode is take.
See RtoJavaSig
Value
a string (character vector of length 1) with the
Java type identifier corresponding to the input.
Details
This searches the mapping contained in
.JavaSigs