public class NPathParts extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NPathParts.Type |
| Constructor and Description |
|---|
NPathParts(NPathParts.Type type,
String protocol,
String authority,
String location,
String query,
String ref) |
NPathParts(String path) |
| Modifier and Type | Method and Description |
|---|---|
static String |
compressLocalPath(String path) |
static String |
compressLocalPath(String path,
int left,
int right) |
static net.thevpc.nuts.text.NText |
compressPath(String path) |
static net.thevpc.nuts.text.NText |
compressPath(String path,
int left,
int right) |
String |
getAuthority() |
String |
getFile() |
String |
getName() |
String |
getProtocol() |
String |
getQuery() |
String |
getRef() |
NPathParts.Type |
getType() |
static net.thevpc.nuts.text.NText |
toNutsString(net.thevpc.nuts.text.NText protocol,
net.thevpc.nuts.text.NText authority,
net.thevpc.nuts.text.NText path,
net.thevpc.nuts.text.NText query,
net.thevpc.nuts.text.NText ref) |
String |
toString() |
public NPathParts(NPathParts.Type type, String protocol, String authority, String location, String query, String ref)
public NPathParts(String path)
public NPathParts.Type getType()
public String getProtocol()
public String getAuthority()
public String getFile()
public String getName()
public String getQuery()
public String getRef()
public static net.thevpc.nuts.text.NText toNutsString(net.thevpc.nuts.text.NText protocol,
net.thevpc.nuts.text.NText authority,
net.thevpc.nuts.text.NText path,
net.thevpc.nuts.text.NText query,
net.thevpc.nuts.text.NText ref)
public static net.thevpc.nuts.text.NText compressPath(String path)
public static net.thevpc.nuts.text.NText compressPath(String path, int left, int right)
Copyright © 2025 vpc open source initiative. All rights reserved.