Package org.zkoss.maven.yuicompressor.util

Examples of org.zkoss.maven.yuicompressor.util.UnicodeReader


    OutputStreamWriter out = null;
    File outFileTmp = new File(outFile.getAbsolutePath() + ".tmp");
    FileUtils.forceDelete(outFileTmp);
    try {
      //bug fix for UTF8 BOM issue by TonyQ
      in = new UnicodeReader(new FileInputStream(inFile), encoding);
      if (!outFile.getParentFile().exists() && !outFile.getParentFile().mkdirs()) {
        throw new MojoExecutionException("Cannot create resource output directory: " + outFile.getParentFile());
      }
      getLog().debug("use a temporary outputfile (in case in == out)");
View Full Code Here

TOP

Related Classes of org.zkoss.maven.yuicompressor.util.UnicodeReader

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.