
com.github.kospiotr.bundler.FileProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bundler-maven-plugin Show documentation
Show all versions of bundler-maven-plugin Show documentation
Maven plugin for creating bundle package of js and css files in Maven project.
The newest version!
package com.github.kospiotr.bundler;
import java.nio.file.Path;
class FileProcessor {
Tokenizer tokenizer;
ResourceAccess resourceAccess = new ResourceAccess();
public FileProcessor(Tokenizer tokenizer) {
this.tokenizer = tokenizer;
}
public void process(Path inputFilePath, Path outputFilePath) {
String inputFileContent = resourceAccess.read(inputFilePath);
String outputFileContent = tokenizer.process(inputFileContent);
resourceAccess.write(outputFilePath, outputFileContent);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy