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
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SyntaxAN()
SyntaxAN
(StringBuffer res, int minsize, int maxsize) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
void
init
(StringBuffer res, int minlen, int maxlen) void
private void
initData
(StringBuffer res, int minsize, int maxsize) protected static String
toString
(int zero) protected static String
Methods inherited from class org.kapott.hbci.datatypes.SyntaxDE
destroy, findNextDelim, getContent, setContent, skipPreDelim, toString
-
Constructor Details
-
SyntaxAN
- See Also:
-
SyntaxAN
protected SyntaxAN()- See Also:
-
SyntaxAN
- 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 Details
-
quote
- Parameters:
x
- The String to be quoted.- Returns:
- A String where all HBCI-specific characters in @p x are quoted using @c ?
-
init
-
init
protected void init() -
toString
-
initData
-
init
-
unquote
- Parameters:
st
- the String to be unquoted- Returns:
- an unquoted string, i.e. with all HBCI-quotes (?) removed
-