* @return the requested Normalizer2, if successful
* @draft ICU 4.4
* @provisional This API might change or be removed in a future release.
*/
public static Normalizer2 getInstance(InputStream data, String name, Mode mode) {
Norm2AllModes all2Modes=Norm2AllModes.getInstance(data, name);
switch(mode) {
case COMPOSE: return all2Modes.comp;
case DECOMPOSE: return all2Modes.decomp;
case FCD: return all2Modes.fcd;
case COMPOSE_CONTIGUOUS: return all2Modes.fcc;