public interface CharsetFinder
It is currently used to decide the encoding of the upload file
if specified by Configuration.setUploadCharsetFinder(org.zkoss.zk.ui.util.CharsetFinder).
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharset(java.lang.String contentType,
java.io.InputStream content)
Returns the character set for the specified content type,
or null if it is unable to determine one.
|
java.lang.String getCharset(java.lang.String contentType,
java.io.InputStream content)
throws java.io.IOException
contentType - the content type (never null)content - the contentjava.io.IOExceptionCopyright © 2005-2011 Potix Corporation. All Rights Reserved.