public class IF_FSTCHAR extends ISOFieldPackager implements TaggedFieldPackager
pad, trim
Constructor and Description |
---|
IF_FSTCHAR() |
IF_FSTCHAR(int len,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxPackedLength() |
java.lang.String |
getToken() |
byte[] |
pack(ISOComponent c) |
void |
setToken(java.lang.String token) |
int |
unpack(ISOComponent c,
byte[] b,
int offset) |
void |
unpack(ISOComponent c,
java.io.InputStream in) |
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrim
public IF_FSTCHAR()
public IF_FSTCHAR(int len, java.lang.String description)
len
- - field lendescription
- symbolic descrptionpublic void setToken(java.lang.String token)
setToken
in interface TaggedFieldPackager
public java.lang.String getToken()
getToken
in interface TaggedFieldPackager
public byte[] pack(ISOComponent c) throws ISOException
pack
in class ISOFieldPackager
c
- - a componentISOException
public int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
unpack
in class ISOFieldPackager
c
- - the Component to unpackb
- - binary imageoffset
- - starting offset within the binary imageISOException
public void unpack(ISOComponent c, java.io.InputStream in) throws java.io.IOException, ISOException
unpack
in class ISOFieldPackager
c
- - the Component to unpackin
- - input streamISOException
java.io.IOException
public int getMaxPackedLength()
getMaxPackedLength
in class ISOFieldPackager