From 34c19e26ec9c9f0f14320f91ee03f356490cb67f Mon Sep 17 00:00:00 2001 From: Enrique Zamudio Date: Thu, 4 Dec 2014 10:57:43 -0600 Subject: [PATCH] fix doc for #29 --- src/main/java/com/solab/iso8583/IsoMessage.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/solab/iso8583/IsoMessage.java b/src/main/java/com/solab/iso8583/IsoMessage.java index 52bf6e0..84ec3c8 100644 --- a/src/main/java/com/solab/iso8583/IsoMessage.java +++ b/src/main/java/com/solab/iso8583/IsoMessage.java @@ -64,7 +64,8 @@ public class IsoMessage { } /** Tells the message to encode its bitmap in binary format, even if the message - * itself is encoded as text. */ + * itself is encoded as text. This has no effect if the binary flag is set, which means + * binary messages will always encode their bitmap in binary format. */ public void setBinaryBitmap(boolean flag) { binBitmap = flag; } @@ -124,7 +125,9 @@ public class IsoMessage { return type; } - /** Indicates whether the message should be binary. Default is false. */ + /** Indicates whether the message should be binary. Default is false. + * To encode the message as text but the bitmap in binary format, you can set the + * binaryBitmap flag. */ public void setBinary(boolean flag) { binary = flag; }