[Java]를 이용하여 PDF 파일을 제작을 도와주는 라이브러리. 라이선스는 [http://www.mozilla.org/MPL/MPL-1.1.html MPL]과 [http://www.gnu.org/copyleft/lesser.html LGPL]. RefactorMe [페이지이름]이 부적절하다고 생각하시는 분은 [페이지이름바꾸기]해 주세요. 프로젝트(라이브러리) 이름을 그대로 사용했습니다. === 관련링크 === * [http://www.lowagie.com/iText/ 프로젝트 홈페이지] * [http://sourceforge.net/projects/itext/ 프로젝트 홈페이지(SourceForge)] === 예제 === * HelloWorld {{{~cpp package spike; import java.io.FileNotFoundException; import java.io.FileOutputStream; import com.lowagie.text.Document; import com.lowagie.text.DocumentException; import com.lowagie.text.Paragraph; import com.lowagie.text.pdf.PdfWriter; public class HelloWorld { public HelloWorld() { writeHello(); } private void writeHello() { Document document = new Document(); try { PdfWriter.getInstance(document, new FileOutputStream("Hello.pdf")); document.open(); document.add(new Paragraph("Hello, World")); document.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (DocumentException e) { e.printStackTrace(); } } public static void main(String args[]) { new HelloWorld(); } } }}} 결과 파일 : Upload:Hello.pdf ---- [도구분류], [프로그래밍분류]