module ClassPrinter: sig
.. end
Printing of class contents.
val print_to_buffer : Utils.UTF8Buffer.t -> ClassPath.t -> Utils.UTF8.t -> unit
print_to_buffer buff cp cn
appends to the passed buffer buff
the
description of the class whose name is cn
in classpath cp
.
Raises ClassLoader.Exception
if the class cannot be loaded.
val print_to_stream : OutputStream.t -> ClassPath.t -> Utils.UTF8.t -> unit
print_to_stream chan cp cn
prints onto the passed channel chan
the description of the class whose name is cn
in classpath cp
.
Raises Lookup.Exception
if the class cannot be loaded.
val print : ClassPath.t -> Utils.UTF8.t -> unit
print cp cn
prints onto the standard output the description of the
class whose name is cn
in classpath cp
.
Raises Lookup.Exception
if the class cannot be loaded.