You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
567 B
19 lines
567 B
package com.fr.plugin.third.party.jsdbagdb; |
|
|
|
import com.fr.stable.fun.impl.AbstractResourcePathTransformer; |
|
|
|
public class ErrorResourcePathTransformer extends AbstractResourcePathTransformer { |
|
public boolean accept(String path) { |
|
return "/com/fr/web/core/errorIframe.html".equals(path); |
|
} |
|
|
|
/** |
|
* 转变资源读取的路径 |
|
* |
|
* @param path 待转换的路径 |
|
* @return 资源文件的新路径 |
|
*/ |
|
public String transform(String path) { |
|
return "/com/fr/plugin/third/party/jsdbagdb/web/errorIframe.html"; |
|
} |
|
} |