test_class.file: ujmp-itext/src/test/java/org/ujmp/itext/TestExportPDF.java
test_class.identifier: TestExportPDF
test_case.body: @Test
  	public void testExport() throws IOException {
  		JButton b = new JButton("test");
  		b.setSize(100, 100);
  		File file = File.createTempFile("itext-text", ".pdf");
  		ExportPDF.save(file, b);
  
  		assertTrue(file.exists());
  		assertTrue(file.length() > 0);
  
  		file.delete();
  
  		assertFalse(file.exists());
  
  	}
test_case.class_method_signature: TestExportPDF.testExport()
test_case.full_signature: @Test public void testExport()
test_case.identifier: testExport
test_case.invocations: setSize createTempFile save assertTrue exists assertTrue length delete assertFalse exists
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExport()
focal_class.declarator: logger = Logger.getLogger(ExportPDF.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = Logger.getLogger(ExportPDF.class.getName());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: ujmp-itext/src/main/java/org/ujmp/itext/ExportPDF.java
focal_class.identifier: ExportPDF
focal_class.class_method_signature: ExportPDF.selectFile()
focal_class.full_signature: public static final File selectFile()
focal_class.identifier: selectFile
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File selectFile()
focal_class.class_method_signature: ExportPDF.selectFile(Component c)
focal_class.full_signature: public static final File selectFile(Component c)
focal_class.identifier: selectFile
focal_class.modifiers: public static final
focal_class.parameters: (Component c)
focal_class.return: File
focal_class.signature: File selectFile(Component c)
focal_class.class_method_signature: ExportPDF.save(File file, Component c)
focal_class.full_signature: public static final void save(File file, Component c)
focal_class.identifier: save
focal_class.modifiers: public static final
focal_class.parameters: (File file, Component c)
focal_class.return: void
focal_class.signature: void save(File file, Component c)
focal_class.class_method_signature: ExportPDF.save(File file, Component c, int width, int height)
focal_class.full_signature: public static final void save(File file, Component c, int width, int height)
focal_class.identifier: save
focal_class.modifiers: public static final
focal_class.parameters: (File file, Component c, int width, int height)
focal_class.return: void
focal_class.signature: void save(File file, Component c, int width, int height)
focal_method.body: public static final void save(File file, Component c) {
  		save(file, c, c.getWidth(), c.getHeight());
  	}
focal_method.class_method_signature: ExportPDF.save(File file, Component c)
focal_method.full_signature: public static final void save(File file, Component c)
focal_method.identifier: save
focal_method.invocations: save getWidth getHeight
focal_method.modifiers: public static final
focal_method.parameters: (File file, Component c)
focal_method.return: void
focal_method.signature: void save(File file, Component c)