|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CharsetFinder
Represents a class that decides the character set based on the content type and the real content.
It is currently used to decide the encoding of the upload file
if specified by Configuration.setUploadCharsetFinder(org.zkoss.zk.ui.util.CharsetFinder)
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
java.lang.String getCharset(java.lang.String contentType, java.io.InputStream content) throws java.io.IOException
contentType
- the content type (never null)content
- the content
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |