
net.java.html.lib.node.path.ParsedPath Maven / Gradle / Ivy
The newest version!
package net.java.html.lib.node.path;
public class ParsedPath extends net.java.html.lib.Objs {
protected ParsedPath(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(ParsedPath.class);
}
@Override
public ParsedPath create(java.lang.Object obj) {
return obj == null ? null : new ParsedPath(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static ParsedPath $as(java.lang.Object obj) {
return $AS.create(obj);
}
/**
* The root of the path such as '/' or 'c:\'
*/
public net.java.html.lib.Objs.Property root = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "root");
public java.lang.String root() { return root.get(); }
/**
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
*/
public net.java.html.lib.Objs.Property dir = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "dir");
public java.lang.String dir() { return dir.get(); }
/**
* The file name including extension (if any) such as 'index.html'
*/
public net.java.html.lib.Objs.Property base = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "base");
public java.lang.String base() { return base.get(); }
/**
* The file extension (if any) such as '.html'
*/
public net.java.html.lib.Objs.Property ext = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "ext");
public java.lang.String ext() { return ext.get(); }
/**
* The file name without extension (if any) such as 'index'
*/
public net.java.html.lib.Objs.Property name = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "name");
public java.lang.String name() { return name.get(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy