Searched refs:usedCharacters (Results 1 – 1 of 1) sorted by relevance
93 public static String foldAndEncode2(String s, int usedCharacters) { in foldAndEncode2() argument99 String encoded = EncoderUtil.encodeIfNecessary(s, EncoderUtil.Usage.TEXT_TOKEN, usedCharacters); in foldAndEncode2()101 return fold(encoded, usedCharacters); in foldAndEncode2()119 public static String fold(String s, int usedCharacters) { in fold() argument123 if (usedCharacters + length <= maxCharacters) { in fold()129 int lastLineBreak = -usedCharacters; in fold()