@Test public void testPack() throws Throwable { ObjectOutput out = new ObjectOutputStream(new ByteArrayOutputStream()); new IF_NOP().pack(new ISOVField((ISOField) new IFA_LCHAR().createComponent(100), new ISOVError( "testISOFieldPackagerDescription")), out); }
public abstract byte[] pack (ISOComponent c) throws ISOException;
ISOFieldPackager { public abstract byte[] pack (ISOComponent c) throws ISOException; }
ISOFieldPackager { public abstract byte[] pack (ISOComponent c) throws ISOException; ISOFieldPackager();  ISOFieldPackager(int len, String description); }
ISOFieldPackager { public abstract byte[] pack (ISOComponent c) throws ISOException; ISOFieldPackager();  ISOFieldPackager(int len, String description); String getDescription(); void setDescription(String description); int getLength(); void setLength(int len); void setPad(boolean pad); void setTrim(boolean trim); abstract int getMaxPackedLength(); ISOComponent createComponent(int fieldNumber); abstract byte[] pack(ISOComponent c); abstract int unpack(ISOComponent c, byte[] b, int offset); void unpack(ISOComponent c, InputStream in); void pack(ISOComponent c, ObjectOutput out); }
ISOFieldPackager { public abstract byte[] pack (ISOComponent c) throws ISOException; ISOFieldPackager();  ISOFieldPackager(int len, String description); String getDescription(); void setDescription(String description); int getLength(); void setLength(int len); void setPad(boolean pad); void setTrim(boolean trim); abstract int getMaxPackedLength(); ISOComponent createComponent(int fieldNumber); abstract byte[] pack(ISOComponent c); abstract int unpack(ISOComponent c, byte[] b, int offset); void unpack(ISOComponent c, InputStream in); void pack(ISOComponent c, ObjectOutput out);  }