PDFに埋め込まれている添付ファイルを抽出するメモ

import com.lowagie.tools.plugins.ExtractAttachments;

public class Client {
    public static void main(String[] args) throws Exception {
        ExtractAttachments ea = new ExtractAttachments();
        ea.setArguments(new String[]{ "hoge.pdf" });
        ea.execute();
    }
}