public class JXR extends Object
| Constructor and Description | 
|---|
| JXR(PackageManager pkgmgr,
   JavaCodeTransform transformer) | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isHtmlFile(String filename)Checks to see if the file is an HTML file. | 
| static boolean | isJavaFile(String filename)Check to see if the file is a Java source file. | 
| void | processPath(PackageManager packageManager,
           Path sourceDir,
           String bottom)Now that we have instantiated everything. | 
| void | setDest(Path dest)Sets the destination. | 
| void | setExcludes(String[] excludes) | 
| void | setIncludes(String[] includes) | 
| void | setInputEncoding(String inputEncoding)Sets the input encoding. | 
| void | setJavadocLinkDir(Path javadocLinkDir)Sets the relative path to javadocs. | 
| void | setLocale(Locale locale)Sets the locale. | 
| void | setOutputEncoding(String outputEncoding)Sets the output encoding. | 
| void | setRevision(String revision)Sets the revision. | 
| void | xref(List<String> sourceDirs,
    String templateDir,
    String windowTitle,
    String docTitle,
    String bottom)Performs the cross-referencing. | 
public JXR(PackageManager pkgmgr, JavaCodeTransform transformer)
public void processPath(PackageManager packageManager, Path sourceDir, String bottom) throws IOException
packageManager - package managersourceDir - source directory.bottom - bottom textIOException - on transformation errorpublic static boolean isJavaFile(String filename)
filename - The name of the file to checktrue if the file is a Java filepublic static boolean isHtmlFile(String filename)
filename - The name of the file to checktrue if the file is an HTML filepublic void setDest(Path dest)
dest - destinationpublic void setLocale(Locale locale)
locale - localepublic void setInputEncoding(String inputEncoding)
inputEncoding - input encodingpublic void setOutputEncoding(String outputEncoding)
outputEncoding - output encodingpublic void setJavadocLinkDir(Path javadocLinkDir)
javadocLinkDir - path to javadocspublic void setRevision(String revision)
revision - revisionpublic void xref(List<String> sourceDirs, String templateDir, String windowTitle, String docTitle, String bottom) throws IOException, JxrException
sourceDirs - source directoriestemplateDir - template directorywindowTitle - window titledocTitle - document titlebottom - bottom textIOException - on I/O errorJxrException - on Velocity errorpublic void setExcludes(String[] excludes)
public void setIncludes(String[] includes)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.