Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change java2html.class

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the relevant knowledge of how to change java2html.class, the content is detailed and easy to understand, the operation is simple and fast, and it has a certain reference value. I believe you will gain something after reading this java2html.class how to change the article. Let's take a look at it.

/ / source File Name: Java2HTML.java

XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" / >

Package com.java2html

Import java.io.*

Import java.util.Vector

/ / Referenced 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 IOException

{

(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 ("Created" + 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 < as.length; iTunes +)

{

File file = new File (as [I])

If (! file.isDirectory ()

{

Throw new BadOptionException (as [I] + "is not a directory")

}

}

Vector vector = new Vector ()

For (int j = 0; j < as.length; jacks +)

{

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

}

O01043 = new String [vector.size ()]

For (int k = 0; k < vector.size (); KBG +)

{

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 is the end of the article on "how to change java2html.class". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to change java2html.class". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report