tagcloud/src/TagCloud.java

22 wiersze
584 B
Java

import processing.core.PApplet;
import java.io.FileInputStream;
import java.io.IOException;
/**
* Simple application wrapper to run the TagCloudGenerator from command line.
* Please provide a config.properties for configuration.
*/
public class TagCloud {
public static void main(String[] args) {
try {
Configuration.getInstance().load(new FileInputStream("config.properties"));
} catch (IOException e) {
e.printStackTrace();
return;
}
PApplet.main(new String[]{"--present", "TagCloudGenerator"});
}
}