Class FixJavadoc


public class FixJavadoc
extends java.lang.Object

This class fixes a problem with javadoc. Javadoc assumes that all images are in a subdirectory of your current directory. If is not true your javadoc pages will contain broken images. This class changes the standard references of the images to a valid reference. The way to use this program on a unix machine is with the command line:

		java sdsu.doc.FixJavadoc
This will change the images references in all files in the current directory that end in ".html". The "-h=directory" (or "-h directory") flag will cause the program to process files in the given directory instead of the current directoy. The "-i=imagesReference" (or "-i imagesReference" will use the "imageReferece" as the location for the standard javadoc images. If the "-i" option is not used, a http reference to a machine at SDSU is used. If the flag "-s" is used, then the program is run in the silent mode. The default is the verbose mode, which prints the name of each file processed to standard out. For example:
		java sdsu.doc.FixJavadoc -h=whitney/program1 -s
will processes all ".html" files in the directory "whitney/program1" in the silent mode.

1.0 15 January 1998 (
Peter Proud-Madruga, Roger Whitney

Method Summary
static void main(java.lang.String[] args)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static void main(java.lang.String[] args)