public String getStream2003(ISOMsg m) throws ISOException { // TODO bagaimana denga ISO2003 m.setPackager(new ISO2003APackager()); byte b[] = m.pack(); AsciiInterpreter i = new AsciiInterpreter(); return i.uninterpret(b, 0, b.length); }
public static String getISOMsg2003(ISOMsg m) throws ISOException, NotFoundException { m.setPackager(new ISO2003APackager()); byte[] b = m.pack(); AsciiInterpreter interpreter = new AsciiInterpreter(); return interpreter.uninterpret(b, 0, b.length); }