fix #2377 add getEnvPath
This commit is contained in:
parent
c29d112b76
commit
ad402d7c5c
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ public class ResourceUtil {
|
|||
return getPath(StringUtil.EMPTY, "js", names);
|
||||
}
|
||||
|
||||
public static Path getEnvPath(final String envName, final String... names) {
|
||||
return getPath("WEB-INF/", "env/" + envName, names);
|
||||
}
|
||||
|
||||
protected static Path getPath(final String root, final String base, final String... names) {
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue