Java Utililty Methods Path Convert To

List of utility methods to do Path Convert To

Description

The list of methods to do Path Convert To are organized into topic(s).

Method

StringpathToResource(final String name)
path To Resource
return ClassLoader.getSystemClassLoader().getResource(name).getPath();
StringpathToSelfLink()
path To Self Link
return pathToLink("self");
StringpathToString(double[][] p)
path To String
if (p == null)
    return null;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < p.length; i++) {
    if (i > 0)
        sb.append(", ");
    coordinatesToString(p[i], sb);
return sb.toString();
StringpathToURI(String path)
path To URI
StringBuffer buf = new StringBuffer();
char[] c = path.toCharArray();
if (c.length > 0) {
    buf.append("file://");
    if (c[0] != '/') {
        buf.append('/');
    for (int i = 0; i < c.length; i++) {
...