
fact.CreateDocs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fact-tools Show documentation
Show all versions of fact-tools Show documentation
The FACT telescope is a Cherenkov telescope on the island of La Palma.
This set of tools is dedicated to read, parse and process raw data produced by the FACT telescope.
The newest version!
/**
*
*/
package fact;
import stream.doc.DocGenerator;
import stream.doc.DocTree;
import stream.util.URLUtilities;
import java.io.File;
/**
* @author chris
*
*/
public class CreateDocs {
/**
* @param args
*/
public static void main(String[] args) {
try {
File outDir = new File("/tmp");
String[] params = new String[] { "fact.io", "fact.data",
"fact.image" };
URLUtilities.copy(CreateDocs.class.getResource("/FACT-API.tex"),
new File(outDir.getAbsolutePath() + File.separator
+ "FACT-API.tex"));
URLUtilities.copy(CreateDocs.class.getResource("/streams.pkg"),
new File(outDir.getAbsolutePath() + File.separator
+ "streams.pkg"));
DocTree tree = DocTree.findDocs(DocGenerator.CLASSES, params);
tree.print(" ");
tree.generateDocs(new File("/tmp"));
} catch (Exception e) {
System.err.println("Error: " + e.getMessage());
e.printStackTrace();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy