publicstaticbyte[] mixed_prepare(byte[] src) throws IOException, ParseException, UnsupportedEncodingException{
String s = new String(src, "UTF-8"); int index = s.indexOf(AT_SIGN);
StringBuffer out = new StringBuffer();
if(index > -1){ /* special prefixes must not be followed by suffixes! */
String prefixString = s.substring(0,index); int i= findStringIndex(special_prefixes, prefixString);
String suffixString = s.substring(index+1, s.length()); if(i>-1 && !suffixString.equals("")){ thrownew ParseException("Suffix following a special index", -1);
}
UCharacterIterator prefix = UCharacterIterator.getInstance(prefixString);
UCharacterIterator suffix = UCharacterIterator.getInstance(suffixString);
out.append(prep.nfsmxp.prepare(prefix,StringPrep.DEFAULT));
out.append(AT_SIGN); // add the delimiter
out.append(prep.nfsmxs.prepare(suffix, StringPrep.DEFAULT));
}else{
UCharacterIterator iter = UCharacterIterator.getInstance(s);
out.append(prep.nfsmxp.prepare(iter,StringPrep.DEFAULT));
} return out.toString().getBytes("UTF-8");
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.