资 源 简 介
This library allows you to pull out specific pieces of information for a given country from the CIA World Factbook.
To get started using this library:
Checkout the latest source code from the repository (JAR files should be available soon).
Use some code like this to grab the data field that you want:
Factbook factbook = new Factbook();
String background = factbook.get("us","Background");
There is also a small command-line utility available:
Download the file "factbook.jar"
Use something like this from the command line:
java -jar factbook.jar us Background
Note: You will need to have the JTidy package installed as well. You can get that at http://jtidy.sourceforge.net/