Package com.samaxes.maven.minify.common

Examples of com.samaxes.maven.minify.common.SourceFilesEnumeration


     *
     * @param mergedFile output file resulting from the merged step
     * @throws IOException when the merge step fails
     */
    protected void merge(File mergedFile) throws IOException {
        try (InputStream sequence = new SequenceInputStream(new SourceFilesEnumeration(log, files, verbose));
                OutputStream out = new FileOutputStream(mergedFile);
                InputStreamReader sequenceReader = new InputStreamReader(sequence, charset);
                OutputStreamWriter outWriter = new OutputStreamWriter(out, charset)) {
            log.info("Creating the merged file [" + ((verbose) ? mergedFile.getPath() : mergedFile.getName()) + "].");

View Full Code Here

TOP

Related Classes of com.samaxes.maven.minify.common.SourceFilesEnumeration

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.