Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 43e62e4b0b50652c9653cda462001ebd > files > 14

java2html-1.7-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="java2html 1.7
by Lorenzo Bettini, bettini@gnu.org
http://w3.newnet.it/bettini
http://www.gnu.org/software/java2html/java2html.html">
<title>./Hello.java</title>
</head>
<body>
<body text="#000000" bgcolor="#CBFFE1" link="#CC6600" vlink="#51188E" alink="#FF0000">
This file has been formatted with
<br><b><font color="#FF0000">GNU java2html</font></b>,
<a href="http://www.gnu.org/software/java2html">http://www.gnu.org/software/java2html</a><a href="http://www.gnu.org/software/java2html"></a>
<br>
by <i><font color="#009900">Lorenzo Bettini</font></i>
&lt;<a href="mailto:bettini@gnu.org">bettini@gnu.org</a>>
<hr>
<center>
<table BORDER=3 CELLPADDING=10 COLS=1 WIDTH="90%" BGCOLOR="#FFFF99" NOSAVE >
<tr NOSAVE>
<td NOSAVE>
<pre>
<tt>
<i><font color=#9A1900>/*
	This is a classical Hello program
	to test java2html.

	to have an html translation type

		java2html --input Hello.java --output Hello.html
		java2html &lt; Hello.java &gt; Hello.html

        or type java2html --help for options list

	written by
	Lorenzo Bettini &lt;bettini@gnu.org&gt;
	http://w3.newnet.it/bettini
	http://www.gnu.org/software/java2html
 */</font></i>

<b><font color=#0000FF>import</font></b> java.io.* ;

<b><font color=#0000FF>public</font></b> <b><font color=#0000FF>class</font></b> Hello {
    <font color=#009900>int</font> foo = <font color=#993399>1998</font> ;
    <font color=#009900>int</font> hex_foo = <font color=#993399>0xCAFEBABE</font>;
    <font color=#009900>boolean</font> b ;
    Integer i = <b><font color=#0000FF>null</font></b> ;
    <font color=#009900>char</font> c = <font color=#FF0000>'\''</font>, d = <font color=#FF0000>'n'</font>, e = <font color=#FF0000>'\\'</font> ;
    String xml = <font color=#FF0000>"&lt;tag attr=\"value\"&gt;&amp;auml;&lt;/tag&gt;"</font>, foo2 = <font color=#FF0000>"\\"</font> ;
    
    <b><font color=#0000FF>public</font></b> <b><font color=#0000FF>static</font></b> <font color=#009900>void</font> main( String args[] ) {
	<i><font color=#9A1900>// just some greetings ;-)  /*
</font></i>	System.out.println( <font color=#FF0000>"Hello from java2html :-)"</font> ) ;
	System.out.println( <font color=#FF0000>"\tby Lorenzo Bettini"</font> ) ;
	System.out.println( <font color=#FF0000>"\tbettini@gnu.org"</font> ) ;
        <i><font color=#9A1900>//System.out.println( "bye bye... :-D" ) ; // see you soon
</font></i>    }
}
</tt>
</pre>
</td>
</tr>
</table></center>
<hr>
This file was generated with the following command:
<pre>
java2html --doc -i Hello.java -o Hello_h_f.html --header="header.html" --footer="footer.html"</pre>
and these are <a href="header.html">header.html</a> and <a href="footer.html">footer.html</a>.
<br>
<tt>--header</tt> and <tt>--footer</tt> options are an idea of
Xavier Outhier
&lt;<a href="mailto:xouthier@yahoo.fr">xouthier@yahoo.fr</a>>
</body>
</html>