Charset service-provider class used for both variants of the UTF-7 charset and the modified-UTF-7 charset.
charsets = Arrays.asList(new Object[] { utf7charset, imap4charset, utf7oCharset });
{@inheritDoc} charsetName = charsetName.toUpperCase(); for (Iterator iter = charsets.iterator(); iter.hasNext();) { Charset charset = (Charset)iter.next(); if (charset.name().equals(charsetName)) return charset; } for (Iterator iter = charsets.iterator(); iter.hasNext();) { Charset charset = (Charset)iter.next(); if (charset.aliases().contains(charsetName)) return charset; } return null;
charsetName = charsetName.toUpperCase(); for (Iterator iter = charsets.iterator(); iter.hasNext();) { Charset charset = (Charset)iter.next(); if (charset.name().equals(charsetName)) return charset; } for (Iterator iter = charsets.iterator(); iter.hasNext();) { Charset charset = (Charset)iter.next(); if (charset.aliases().contains(charsetName)) return charset; } return null;
{@inheritDoc} return charsets.iterator();
return charsets.iterator();