module JavaString:sig..end
val of_string : string -> java'lang'String java_instanceof_string s converts the OCaml string s into a Java string.val to_string : java'lang'String java_instance -> stringto_string s converts the Java string s into an OCaml string.
Raises Java_exeption if s is null.
val null : java'lang'String java_instanceval is_null : java'lang'String java_instance -> boolis_null x returns true iff x is equal to null.val is_not_null : java'lang'String java_instance -> boolis_not_null x returns false iff x is equal to null.val print_string : java'lang'String java_instance -> unitprint_string s prints s onto the standard ouput.val print_endline : java'lang'String java_instance -> unitprint_endline s prints s followed by a newline character onto the
standard ouput.val prerr_string : java'lang'String java_instance -> unitprerr_string s prints s onto the error ouput.val prerr_endline : java'lang'String java_instance -> unitprerr_endline s prints s followed by a newline character onto the
error ouput.val output_string : Pervasives.out_channel -> java'lang'String java_instance -> unitoutput_string ch s prints s onto channel ch.val read_line : unit -> java'lang'String java_instanceread_line () reads a line from the standard input.
Returns null when end of input is reached.val input_line : Pervasives.in_channel -> java'lang'String java_instanceinput_line ch reads a line from channel ch.
Returns null when end of input is reached.val wrap : java'lang'String java_instance -> java'lang'String java_instance optionwrap x wraps the reference x into an option type:Some x if x is not null;None if x is null.