mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
パースメソッドを追加
This commit is contained in:
parent
caf3a0dd34
commit
b2c6085933
|
@ -41,6 +41,14 @@ public class PublicPath {
|
|||
}
|
||||
}
|
||||
|
||||
public PublicPath parse(String path) {
|
||||
String[] pathArray = path.split("/");
|
||||
for (String p : pathArray) {
|
||||
resolveInternal(p);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public PublicPath resolve(String path) {
|
||||
resolveInternal(path);
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue
Block a user