Package org.kapott.hbci.datatypes
Class SyntaxAN
- java.lang.Object
-
- org.kapott.hbci.datatypes.SyntaxDE
-
- org.kapott.hbci.datatypes.SyntaxAN
-
- Direct Known Subclasses:
SyntaxCode,SyntaxDTAUS,SyntaxID,SyntaxJN
public class SyntaxAN extends SyntaxDE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSyntaxAN()SyntaxAN(StringBuilder res, int minsize, int maxsize)SyntaxAN(String x, int minlen, int maxlen)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinit()voidinit(StringBuilder res, int minlen, int maxlen)voidinit(String x, int minlen, int maxlen)protected static Stringquote(String x)StringtoString(int zero)protected static Stringunquote(String st)-
Methods inherited from class org.kapott.hbci.datatypes.SyntaxDE
findNextDelim, getContent, setContent, skipPreDelim, toString
-
-
-
-
Constructor Detail
-
SyntaxAN
protected SyntaxAN()
- See Also:
SyntaxDE
-
SyntaxAN
public SyntaxAN(StringBuilder res, int minsize, int maxsize)
- Parameters:
res- A part of the HBCI-message to be parsed. From this (sub-)string the first token will be used to initialize the data element.minsize- The minimum string length for this element.maxsize- The maximum string length for this element (or zero). See SyntaxDE::setContent(String,int,int,int).
-
-
Method Detail
-
quote
protected static String quote(String x)
- Parameters:
x- The String to be quoted.- Returns:
- A String where all HBCI-specific characters in @p x are quoted using @c ?
-
unquote
protected static String unquote(String st)
- Parameters:
st- the String to be unquoted- Returns:
- an unquoted string, i.e. with all HBCI-quotes (?) removed
-
init
public void init(StringBuilder res, int minlen, int maxlen)
-
-