Java2HTML (http://www.java2html.com/) is a very easy to use tool, which can generate your Java source code to generate an HTML page, and structures are as good as the JavaDoc organization, and support Ant Task. Extension, give a very convenient and practical function for the majority of programming enthusiasts. The author really likes to generate Javadoc and Java HTML files directly using Ant to directly generate Javadoc and Java HTML files and publish it to the server. You can go to my site (http: //www.ibeyond.org/code), my website is to use Eclipse (http://www.eclispse.org) to combine ant (http://ant.apache.org/), etc. The words can even be built daily. I am too much like Ant this tool (there is a bit randing, there is no way, I will be easy to run when I write, habit).
The words retired, or returned to the transformation.
I don't know if you use Java2HTML to notice. Java2HTML is not supported by default. Also, who makes the author is a foreigner (from its copyright information, what should be an English)? How can they be Notice that the remote oriental "Dragon" will use his "small software"? If you enter Chinese in your program code, ^ _ ^, then congratulations, you can see HTML with Chinese garbled The page is. To be honest, this is also not easy. Of course, English is very good at English, because English is certainly in your code, there is no Chinese characters, which also loses your ability. The reflection, and like this, I will just know the simple twenty English letters, I will find the psychology very uncomfortable (if there is something I even want to use the program code to write, of course, Java supports this , Just my boss disagree, I hope this article will not see my boss.).
I know that many people are like me for programs for programming with almost enthusiasm (if you don't have such a fanatic hobby, you will not use the user's limited valuable equivalent to money to see my stupid article), Of course, the software that is not satisfied will have such a flaw. So well, set with the current manager of the computer hardware master, let us start "DIY" history (so much stinky, finally to enter the theme, I also started Some anxious, huh, huh).
In fact, here, my "Elm Brain" (elementary school teacher is often used "Love") only thinks two solutions:
I. First transfer my code before using Java2HTML, then let Java2HTML use the transfer code after the transfer.
II. Directly modify this Java2HTML code and add an encoding encoding parameter to Java2HTML.
Everyone is not imagined. If you use the method one, no matter how you convert it in an English environment, there will be garbled, which is both possible to display Chinese. You also need to make a coding method on Browser. And the second thing to reflect our "superb!" Horizontal, and it can be combined with the original software and does not affect other applications.
From the author's Software License Agreement (http://www.vaegon.f9.co.uk/#license) You can see this shared software, users can be released freely, but they cannot be refactored, reverse engineering, etc. So I will make it strictly, it should be very unpleasant, but I can't tolerate this tiny flaw of this software, so I have the case of the Java2HTML in the case of completely retaining its copyright information and respects its copyright. Limited expansion (I also added my little mark in the software, huh, huh, people have no more people).
Next we have to do it is not only anti-compiling this package. About Decompile, there are many controversies in the industry, many people think that Java compiled code is unsafe, both use the obfuscator, this is the case, here I don't want to discuss this problem, Because I am not an expert in this area, it is not a person who can be hand, or it is left to people who like to discuss it (there is too much about Java's discussion). I am thinking here, I am not Encourage everyone to make anti-compilation of Java software, and individuals think that when you feel that you need to improve this software, you can use this most appropriate policy when you can't get Java source code, and you must retain the original author when you do relevant work. Related copyright information, only this statement.
First of all, the original J2H.jar (can download from http://www.java2html.com), can be unpredified with WinRAR, then look for the entrance, just like a professional hacker (a little hacker empire The meaning of the most obvious entrance is meta-inf / manifest.mf, why do you say this? Because Java specifies the class name of the executor of this JAR package through this file, it is a class with the main method, of course it It is the entrance (I am not the prophetism in the hacker Emperor, the first prophet is a woman, at least a woman form, and I am a man; second, I don't have the ability of the prophet, if I have this ability, I will go. The test buying award, who also went to write this Lausia program). All our goals are to get this file, look for breakthroughs .j2h.class:
Import com.java2html.java2html;
Public Class J2H
{
Public static void main (string args [])
Throws Exception
{
Java2html.main (args);
}
Public J2H ()
{
}
}
I saw it, I sent the Args parameters directly to java2html.main, just like a case, I started tracking now.
I want to know how the matter is, and I listen to the decomposition.
Copyright © http://www.ibeyond.org, reprint, please refer to the famous source and keep copyright information.