aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/CharacterDelimiterFrameDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/CharacterDelimiterFrameDecoder.java')
-rw-r--r--src/org/traccar/CharacterDelimiterFrameDecoder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/CharacterDelimiterFrameDecoder.java b/src/org/traccar/CharacterDelimiterFrameDecoder.java
index 7ce83ff78..eeb8834dc 100644
--- a/src/org/traccar/CharacterDelimiterFrameDecoder.java
+++ b/src/org/traccar/CharacterDelimiterFrameDecoder.java
@@ -50,6 +50,10 @@ public class CharacterDelimiterFrameDecoder extends DelimiterBasedFrameDecoder {
super(maxFrameLength, createDelimiter(delimiter));
}
+ public CharacterDelimiterFrameDecoder(int maxFrameLength, boolean stripDelimiter, String delimiter) {
+ super(maxFrameLength, stripDelimiter, createDelimiter(delimiter));
+ }
+
public CharacterDelimiterFrameDecoder(int maxFrameLength, String... delimiters) {
super(maxFrameLength, convertDelimiters(delimiters));
}