| 55 | } |
| 56 | |
| 57 | private static void printProlog() { |
| 58 | System.out.println("\"\"\"Locale information."); |
| 59 | System.out.println("Holds a map from ISO 3166-1 country code (e.g. GB) to a dict."); |
| 60 | System.out.println("Each dict maps from an ISO 639-1 language code (e.g. ja) to the country's name in that language."); |
| 61 | System.out.println(""); |
| 62 | System.out.println("Generated from java.util.Locale, generation info:"); |
| 63 | printProperty("java.version"); |
| 64 | printProperty("java.vendor"); |
| 65 | printProperty("os.name"); |
| 66 | printProperty("os.arch"); |
| 67 | printProperty("os.version"); |
| 68 | System.out.println(""); |
| 69 | System.out.println("Auto-generated file, do not edit by hand."); |
| 70 | System.out.println("\"\"\""); |
| 71 | System.out.println("from ..util import u"); |
| 72 | } |
| 73 | |
| 74 | public static void main(String[] args) { |
| 75 | // Check for mode |