@Test public void testJrobinParse() throws Exception { RRDv1 jrb = RrdConvertUtils.dumpJrb(new File("src/test/resources/tempA.jrb")); Assert.assertNotNull(jrb); }
public static RRDv1 dumpJrb(File sourceFile) throws IOException, RrdException { RrdDb jrb = new RrdDb(sourceFile, true); RRDv1 rrd = JaxbUtils.unmarshal(RRDv1.class, jrb.getXml()); jrb.close(); return rrd; }
RrdConvertUtils { public static RRDv1 dumpJrb(File sourceFile) throws IOException, RrdException { RrdDb jrb = new RrdDb(sourceFile, true); RRDv1 rrd = JaxbUtils.unmarshal(RRDv1.class, jrb.getXml()); jrb.close(); return rrd; } }
RrdConvertUtils { public static RRDv1 dumpJrb(File sourceFile) throws IOException, RrdException { RrdDb jrb = new RrdDb(sourceFile, true); RRDv1 rrd = JaxbUtils.unmarshal(RRDv1.class, jrb.getXml()); jrb.close(); return rrd; } private  RrdConvertUtils(); }
RrdConvertUtils { public static RRDv1 dumpJrb(File sourceFile) throws IOException, RrdException { RrdDb jrb = new RrdDb(sourceFile, true); RRDv1 rrd = JaxbUtils.unmarshal(RRDv1.class, jrb.getXml()); jrb.close(); return rrd; } private  RrdConvertUtils(); static RRDv1 dumpJrb(File sourceFile); static RRDv3 dumpRrd(File sourceFile); static void restoreJrb(RRDv1 rrd, File targetFile); static void restoreRrd(RRDv3 rrd, File targetFile); static void convertFromRrdToJrobin(File sourceRrdFile, File targetJrobinFile); static void convertFromJrobinToRrd(File sourceJrobinFile, File targetRrdFile); }
RrdConvertUtils { public static RRDv1 dumpJrb(File sourceFile) throws IOException, RrdException { RrdDb jrb = new RrdDb(sourceFile, true); RRDv1 rrd = JaxbUtils.unmarshal(RRDv1.class, jrb.getXml()); jrb.close(); return rrd; } private  RrdConvertUtils(); static RRDv1 dumpJrb(File sourceFile); static RRDv3 dumpRrd(File sourceFile); static void restoreJrb(RRDv1 rrd, File targetFile); static void restoreRrd(RRDv3 rrd, File targetFile); static void convertFromRrdToJrobin(File sourceRrdFile, File targetJrobinFile); static void convertFromJrobinToRrd(File sourceJrobinFile, File targetRrdFile);  }