2010-06-22 2 views

답변

8

좋아, 찾았습니다. 해결책은

public static void scanFields(String path) throws IOException { 
    PdfReader pdfReader = new PdfReader(path); 
    AcroFields acroFields = pdfReader.getAcroFields(); 
    HashMap<String,AcroFields.Item> fields = acroFields.getFields(); 
    Set<Entry<String, Item>> entrySet = fields.entrySet(); 
    for (Entry<String, Item> entry : entrySet) { 
     String key = entry.getKey(); 
    } 
}