Package core :: Module javautils

[hide private]
[frames] | no frames]

# Module javautils

source code

This module defines several functions to ease interfacing with Java code.

Initially based on resources in the following article http://www.ibm.com/developerworks/java/tutorials/j-jython2/index.html

Author: Scott Horn

Functions | [hide private]

map_map_from_java(map) Convert a Map to a Dictionary. | source code

map_set_from_java(set_) Convert a Set to a set. | source code

map_collection_from_java(coll) Convert a Collection to a List. | source code

map_from_java(object) Convert a Java type to a Jython type. | source code

map_seq_to_java(seq) Convert a seqence to a Java ArrayList. | source code

map_list_to_java(list) Convert a List to a Java ArrayList. | source code

map_list_to_java_vector(list) Convert a List to a Java Vector. | source code

map_dict_to_java(dict) Convert a Dictionary to a Java HashMap. | source code

map_to_java(object) Convert a Jython type to a Java type. | source code

Variables | [hide private]

| __email__ = `"scott@hornmicro.com"`
| __credits__ = `"Based entirely on work by Tim Fox http://tfox.org"`