実装 WIP

This commit is contained in:
r-ca 2024-01-13 15:07:11 +09:00
parent 1d3015a7e4
commit 180428fbb7
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -0,0 +1,23 @@
package one.nem.lacerta.model;
public class PublicPath {
/*
* ユーザーが扱うパス(内部パスの代替)
*/
String[] path;
public PublicPath() {
this.path = new String[0];
}
public PublicPath load(String[] path) {
this.path = path;
return this;
}
public PublicPath load(String path) {
this.path = path.split("/");
return this;
}
}