Package org.zkoss.zk.ui.util

Examples of org.zkoss.zk.ui.util.CharsetFinder


        }
      } else if (ctypelc.startsWith("text/")) {
        String charset = getCharset(ctype);
        if (charset == null) {
          final Configuration conf = desktop.getWebApp().getConfiguration();
          final CharsetFinder chfd = conf.getUploadCharsetFinder();
          if (chfd != null)
            charset = chfd.getCharset(ctype,
              fi.isInMemory() ?
                new ByteArrayInputStream(fi.get()):
                fi.getInputStream());
          if (charset == null)
            charset = conf.getUploadCharset();
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.util.CharsetFinder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.