public void xref(List sourceDirs, String templateDir, String windowTitle, String docTitle, String bottom)
throws IOException, JxrException
{
FileManager fileManager = new FileManager();
fileManager.setEncoding(inputEncoding);
PackageManager pkgmgr = new PackageManager(log, fileManager);
pkgmgr.setExcludes(excludes);
pkgmgr.setIncludes(includes);
String path;
for(Iterator i = sourceDirs.iterator(); i.hasNext(); processPath(pkgmgr, path))
{
path = (String)i.next();
path = (new File(path)).getCanonicalPath();
pkgmgr.process(path);
}
DirectoryIndexer indexer = new DirectoryIndexer(pkgmgr, dest);
indexer.setOutputEncoding(outputEncoding);
indexer.setTemplateDir(templateDir);