saker.build Documentation TaskDoc JavaDoc Packages
public static final class SakerPath.Builder
SakerPath builder.
Methods
public Builder
Appends the parameter path to the builder.
public SakerPath
Appends the parameter and builds the path object without modifying the state of the builder.
public SakerPath
Constructs the SakerPath object.
public String
Returns a string representation of the object.
public Builder append(String path)
Appends the parameter path to the builder.

The path is sanity checked and normalized.

pathThe path to append.
this
Appends the parameter and builds the path object without modifying the state of the builder.

The parameter path is appended to the current path and a new SakerPath is constructed without modifying the state of this builder.

pathThe path to append.
The constructed path.
public SakerPath build()
Constructs the SakerPath object.

The build can be reused after this call and will continue to have the same root and path names to it.

The constructed path.
public String toString()
Overridden from: Object
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 
a string representation of the object.