org.hibnet.webpipes.WebpipeUtils.idOf()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(5.0k)|赞(0)|评价(0)|浏览(83)

本文整理了Java中org.hibnet.webpipes.WebpipeUtils.idOf()方法的一些代码示例,展示了WebpipeUtils.idOf()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebpipeUtils.idOf()方法的具体详情如下:
包路径:org.hibnet.webpipes.WebpipeUtils
类名称:WebpipeUtils
方法名:idOf

WebpipeUtils.idOf介绍

暂无

代码示例

代码示例来源:origin: org.hibnet/webpipes-uglify

private UglifyJsWebpipe(String path, Webpipe webpipe, boolean uglify, List<String> revervedNames) {
  super(WebpipeUtils.idOf(UglifyJsProcessor.class, webpipe, uglify, revervedNames), path, "uglify", webpipe);
  this.uglify = uglify;
  this.revervedNames = revervedNames;
}

代码示例来源:origin: org.hibnet/webpipes-yui

private YuiJsCompressorWebpipe(String path, Webpipe webpipe, int linebreak, boolean munge, boolean verbose, boolean preserveAllSemiColons,
    boolean disableOptimizations) {
  super(WebpipeUtils.idOf(YuiJsCompressorProcessor.class, webpipe, linebreak, munge, verbose, preserveAllSemiColons, disableOptimizations),
      path, "yuijs", webpipe);
  this.linebreak = linebreak;
  this.munge = munge;
  this.verbose = verbose;
  this.preserveAllSemiColons = preserveAllSemiColons;
  this.disableOptimizations = disableOptimizations;
}

代码示例来源:origin: org.hibnet/webpipes-core

public AbsoluteUrlCssWebpipe(String path, Webpipe webpipe, String absolutePath) {
  super(WebpipeUtils.idOf(AbsoluteUrlCssWebpipe.class, webpipe, absolutePath), path, "absoluteUrlCss", webpipe);
  this.absolutePath = absolutePath;
}

代码示例来源:origin: org.hibnet/webpipes-yui

private YuiCssCompressorWebpipe(String path, Webpipe webpipe, int linebreak) {
  super(WebpipeUtils.idOf(YuiCssCompressorProcessor.class, webpipe, linebreak), path, "yuicss", webpipe);
  this.linebreak = linebreak;
}

代码示例来源:origin: org.hibnet/webpipes-googleclosure

private GoogleClosureCompressorWebpipe(String path, Webpipe webpipe, CompilationLevel compilationLevel) {
  super(WebpipeUtils.idOf(GoogleClosureCompressorProcessor.class, webpipe, compilationLevel), path, "googleclosure", webpipe);
  this.compilationLevel = compilationLevel;
}

代码示例来源:origin: org.hibnet/webpipes-coffeescript

private CoffeeScriptWebpipe(String path, Webpipe webpipe, String[] options) {
  super(WebpipeUtils.idOf(CoffeeScriptProcessor.class, webpipe, options), path, "coffeescript", webpipe);
  this.options = options;
}

代码示例来源:origin: org.hibnet/webpipes-jsonhpack

private JsonHPackWebpipe(String path, Webpipe webpipe, boolean pack) {
  super(WebpipeUtils.idOf(JsonHPackProcessor.class, webpipe, pack), path, "jsonhpack", webpipe);
  this.pack = pack;
}

代码示例来源:origin: org.hibnet/webpipes-cjson

private CJsonWebpipe(String path, Webpipe webpipe, boolean pack) {
  super(WebpipeUtils.idOf(CJsonProcessor.class, webpipe, pack), path, "cjson", webpipe);
  this.pack = pack;
}

代码示例来源:origin: org.hibnet/webpipes-core

public SourceMapStripperWebpipe(String path, Webpipe webpipe) {
  super(WebpipeUtils.idOf(SourceMapStripperWebpipe.class, webpipe), path, "sourcemapstripper", webpipe);
}

代码示例来源:origin: org.hibnet/webpipes-less4j

public Less4jWebpipe(String path, Webpipe webpipe) {
  super(WebpipeUtils.idOf(Less4jProcessor.class, webpipe), path, "less4j", webpipe);
}

代码示例来源:origin: org.hibnet/webpipes-core

@Override
default public Webpipe createProcessingWebpipe(String path, Webpipe source) {
  return new ProcessingWebpipe(WebpipeUtils.idOf(this.getClass(), source), path, getName(), source) {
    @Override
    protected WebpipeOutput fetchOutput() throws Exception {
      return process(getChildWebpipe());
    }
  };
}

代码示例来源:origin: org.hibnet/webpipes-core

public FilePatternResource(String path, String pattern) {
  super(WebpipeUtils.idOf(FilePatternResource.class, pattern), WebpipeUtils.pathOf(path, "/webpipes/files", pattern));
  this.pattern = pattern;
}

代码示例来源:origin: org.hibnet/webpipes-core

public FileResource(String path, File file) {
  super(WebpipeUtils.idOf(FileResource.class, file), WebpipeUtils.pathOf(path, "/webpipes/file", file.getAbsolutePath()));
  this.file = file;
}

代码示例来源:origin: org.hibnet/webpipes-core

public UrlResource(String path, URL url) {
  super(WebpipeUtils.idOf(UrlResource.class, url), WebpipeUtils.pathOf(path, "/webpipes/url", url.toExternalForm()));
  this.url = url;
}

代码示例来源:origin: org.hibnet/webpipes-core

public ClasspathResource(String path, String location) {
  super(WebpipeUtils.idOf(ClasspathResource.class, location), WebpipeUtils.pathOf(path, "/webpipes/cp", location));
  this.location = location.startsWith("/") ? location : ("/" + location);
}

代码示例来源:origin: org.hibnet/webpipes-core

public ClasspathPatternResource(String path, String pattern) {
  super(WebpipeUtils.idOf(ClasspathPatternResource.class, pattern), WebpipeUtils.pathOf(path, "/webpipes/cps", pattern));
  this.pattern = pattern;
}

代码示例来源:origin: org.hibnet/webpipes-core

public SimpleMergingWebpipe(String path, List<Webpipe> webpipes) {
  super(WebpipeUtils.idOf(SimpleMergingWebpipe.class, webpipes), WebpipeUtils.pathOf(path, "/webpipes", buildId(webpipes)));
  this.webpipes = webpipes;
}

代码示例来源:origin: org.hibnet/webpipes-core

public StringResource(String path, String content) {
  super(WebpipeUtils.idOf(StringResource.class, content),
      WebpipeUtils.pathOf(path, "/webpipes/string", WebpipeUtils.sha1Base64Encoded(content)));
  this.output = new WebpipeOutput(content);
}

相关文章

微信公众号

最新文章

更多