public abstract class URLPart extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
URLPart.Type |
| Modifier and Type | Field and Description |
|---|---|
protected Object |
obj |
protected URLPart |
parent |
protected String |
path |
protected URLPart.Type |
type |
| Constructor and Description |
|---|
URLPart(URLPart parent,
URLPart.Type type,
String path,
Object obj) |
| Modifier and Type | Method and Description |
|---|---|
abstract URLPart[] |
getChildren(boolean includeFolders,
boolean deep,
Predicate<URLPart> filter) |
net.thevpc.nuts.util.NOptional<File> |
getFile() |
abstract InputStream |
getInputStream() |
String |
getName() |
String |
getPath() |
URLPart.Type |
getType() |
int |
len() |
static URLPart |
of(File r) |
static URLPart |
of(String r) |
static URLPart |
of(String r,
Object obj) |
static URLPart |
of(URL r) |
URLPart |
parent() |
URLPart |
root() |
abstract URLPart |
rootSibling(String path) |
String |
toString() |
protected URLPart parent
protected URLPart.Type type
protected String path
protected Object obj
public URLPart(URLPart parent, URLPart.Type type, String path, Object obj)
public int len()
public URLPart root()
public URLPart parent()
public String getName()
public URLPart.Type getType()
public net.thevpc.nuts.util.NOptional<File> getFile()
public String getPath()
public abstract URLPart[] getChildren(boolean includeFolders, boolean deep, Predicate<URLPart> filter)
public abstract InputStream getInputStream()
Copyright © 2025 vpc open source initiative. All rights reserved.