public final class PathBuilder
extends java.lang.Object
PathBuilder
offers a convenient way of creating a valid path from multiple fragmentsConstructor and Description |
---|
PathBuilder(java.lang.String path)
Creates a new
PathBuilder instance |
Modifier and Type | Method and Description |
---|---|
PathBuilder |
append(java.lang.String path)
Appends a new path fragment
|
java.lang.String |
toString()
Returns the path
|
public PathBuilder(java.lang.String path)
PathBuilder
instancepath
- the initial pathpublic PathBuilder append(java.lang.String path)
path
- the path fragment to appendpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved