org.stringtemplate.v4.STGroup.getRootDirURL()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(83)

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

STGroup.getRootDirURL介绍

[英]Return root dir if this is group dir; return dir containing group file if this is group file. This is derived from original incoming dir or filename. If it was absolute, this should come back as full absolute path. If only a URL is available, return URL of one dir up.
[中]如果这是组目录,则返回根目录;如果是组文件,则返回包含组文件的目录。这是从原始的传入目录或文件名派生的。如果它是绝对的,这应该返回为完全绝对路径。如果只有一个URL可用,则返回一个dir up的URL。

代码示例

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: antlr/stringtemplate4

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: jsevellec/cassandra-unit

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: antlr/antlr3

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: org.antlr/ST4

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: io.virtdata/virtdata-lib-realer

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: apache/servicemix-bundles

URL thisRoot = getRootDirURL();
URL fileUnderRoot;

代码示例来源:origin: org.antlr/stringtemplate

URL thisRoot = getRootDirURL();
URL fileUnderRoot = null;

相关文章

微信公众号

最新文章

更多