@@ -0,0 +1,874 @@
+package net.chocolapod.lwjgfont.packager;%0A%0Aimport java.io.FileOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.PrintWriter;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Apublic class ClassMapLog %7B%0A%09private static final String%09%09LOG_FILE_NAME = %22lwjgfont.log%22; %0A%09%0A%09private Map%3CString, String%3E%09classMap;%0A%0A%09public ClassMapLog() %7B%0A%09%09this.classMap = new HashMap%3CString, String%3E();%0A%09%7D%0A%09%0A%09public void add(String fontName, int size, String className) %7B%0A%09%09classMap.put(fontName + %22 (Size: %22 + size + %22)%22, className);%0A%09%7D%0A%0A%09public void write() throws IOException %7B%0A%09%09PrintWriter%09%09pw = null;%0A%09%09%0A%09%09try %7B%0A%09%09%09pw = new PrintWriter(new FileOutputStream(LOG_FILE_NAME));%0A%09%09%09%0A%09%09%09for (String key: classMap.keySet()) %7B%0A%09%09%09%09pw.println(key + %22 --%3E %22 + classMap.get(key));%0A%09%09%09%7D%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09throw e;%0A%09%09%7D finally %7B%0A%09%09%09if (pw != null) %7B%0A%09%09%09%09pw.close();%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09%0A%09%7D%0A%0A%7D%0A

変換したフォントと生成したクラスの対応を lwjgfont.log に出力するように