2011-03-01から1ヶ月間の記事一覧
System.setProperty("javax.xml.transform.TransformerFactory", "net.sf.saxon.TransformerFactoryImpl"); これだけで、おk。他のコードは共通でいい。
StreamSource xsl = new StreamSource("hoge.xsl"); これだとエラーになって、 StreamSource xsl = new StreamSource(new File("hoge.xsl")); だと、ちゃんとパスが解決できる。……
bsf.jar Apache Commons BSF™ - Bean Scripting Framework commons-logging.jar Apache Commons Logging - Overview js.jar Download Rhino - Mozilla | MDN xalan.jar Xalan-Java Version 2.7.1
http://www.moriwaki.net/wiki/index.php?[[PDFBox]] この方法だと画像が取れない形式のPDFがあるっぽい。XObjectは全部取ってきて、PDXObjectImageインスタンスか、PDXObjectFormインスタンスで処理を分けてやるといい。 public static void main(String[] …