Search in sources :

Example 1 with BinaryOpener

use of com.dexels.navajo.document.BinaryOpener in project navajo by Dexels.

the class BirtUtils method main.

public static void main(String[] args) throws Exception {
    System.out.println("***IS IT A BIRT?***");
    // Change the path to the file to match your filesystem
    FileInputStream fis = new java.io.FileInputStream("C:/Users/Robin/Documents/Test.xml");
    Navajo navajo = NavajoFactory.getInstance().createNavajo(fis);
    Binary template = null;
    BirtUtils report = new BirtUtils();
    Binary result = report.createEmptyReport(navajo, template);
    BinaryOpener bo = BinaryOpenerFactory.getInstance();
    bo.open(result);
}
Also used : Navajo(com.dexels.navajo.document.Navajo) Binary(com.dexels.navajo.document.types.Binary) FileInputStream(java.io.FileInputStream) BinaryOpener(com.dexels.navajo.document.BinaryOpener)

Aggregations

BinaryOpener (com.dexels.navajo.document.BinaryOpener)1 Navajo (com.dexels.navajo.document.Navajo)1 Binary (com.dexels.navajo.document.types.Binary)1 FileInputStream (java.io.FileInputStream)1