Java2HTML Reconstruction Reconstruction (2)

zhaozj2021-02-17  70

JA Java2HTML Reconstruction Reconstruction (2)

This goal is java2html.class

// Source File Name: Java2html.java

Package com.java2html;

Import java.io. *;

Import java.util.vector;

// Reference Classes of Package Com.java2HTML:

// O01, O01050, O01052, BadOptionException,

// O07, Javadoc

Public Class Java2HTML

{

PRIVATE INT O01040;

PRIVATE INT O01041;

PRIVATE BOOLEAN O01012;

PRIVATE BOOLEAN O01014;

PRIVATE BOOLEAN O01042;

PRIVATE STRING O01002;

Private string o01043 [];

Private javadoc o01044 [];

PRIVATE STRING O01045;

Public static void main (string args [])

{

INT I;

Java2html java2html;

O01 O01;

i = 0;

System.out.println ("Java2HTML Version 1.3.2 (ibeyond.org modify);

System.out.println (O07.O0997);

Java2html = new java2html ();

O01 = New O01 (ARGS);

IF (! o01.O04 (java2html))

{

Return;

}

Try

{

Java2html.buildjava2html ();

}

Catch (Exception Exception)

{

System.err.print (Exception.getMessage ());

i = 1;

}

System.exit (i);

Return;

}

Public Boolean Buildjava2HTML ()

Throws Exception

{

O01049 ();

O01050 o01050 = new o01050 (o01044);

IF (o01043 == null)

{

SetjavadirectorySource (new string "{

"."

});

}

O01052 o01052 = new O01052 (O01043, O01045, O01040, O01041, O01012, O01014, O01050);

IF (! o01042)

{

O01052.O01054 (O01045, O01052, O01002);

}

O01052.O01055 ();

Return True;

}

PRIVATE VOID O01049 ()

Throws oException

{

(New file (o01045)). MKDIRS ();

File File = NULL;

FileWriter FileWriter = NULL;

File = new file (o01045 file.separator "stylesheet.css");

FileWriter = New FileWriter (File);

FileWriter.write (O07.O0998 ());

FileWriter.Close ();

System.out.println ("created" file.getabsolutePath ());

IF (! o01042)

{

File file1 = new file (o01045 file.separator "front.html");

FileWriter FileWriter1 = New FileWriter (file1);

FileWriter1.write (O07.O0999 ());

Filewriter1.close ();

System.out.println ("create" file1.getabsolutepath ());

File1 = new file (o01045 file.separator "index.html");

FileWriter1 = New FileWriter (file1);

FileWriter1.write (O07.O01001 (O01002));

Filewriter1.close ();

}

}

Public void setmarginsize (int i)

{

O01040 = i;

}

Public void setTabsize (INT i)

{

O01041 = i;

}

Public void setHeader (Boolean Flag)

{

O01012 = FLAG;

}

Public void setsimple (Boolean Flag)

{

O01042 = FLAG;

}

Public void setfooter (Boolean Flag)

{

O01014 = FLAG;

}

Public void settitle (String S)

{

O01002 = S;

}

Public void setjavadirectorySource (String as [])

Throws BadOptionException

{

For (int i = 0; i

{

File file = new file (as [i]);

IF (! file.Indirectory ())

{

Throw New BadoptionException (as [i] "is not a directory");

}

}

Vector vector = new vector ();

For (int J = 0; j

{

Vector = o07.O01020 (as [j], vector);

}

O01043 = new string [vector.size ()];

For (int K = 0; k

{

O01043 [k] = (string) Vector.Elementat (k);

}

}

Public void o01059 (String as [])

{

O01043 = as;

}

Public void setjavadoc (javadoc ajavadoc [])

{

O01044 = ajavadoc;

}

Public void setDestination (String s)

{

O01045 = S;

}

Public Java2HTML ()

{

O01041 = 4;

O01012 = TRUE;

O01014 = TRUE;

O01042 = false;

O01002 = "Java Source";

O01045 = "OUTPUT";

}

}

This code is not as good as the previous one. No way Decompile is like this, if you have a better tool, please recommend it, it is grateful.

I want to know how the matter is, and I listen to the decomposition.

转载请注明原文地址:https://www.9cbs.com/read-31161.html

New Post(0)