@Immutable public class RelativeUnixPath extends Object
/
).
This class is immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
static RelativeUnixPath |
get(String relativePath)
Gets a new
RelativeUnixPath from a Unix-style path in relative form. |
public static RelativeUnixPath get(String relativePath)
RelativeUnixPath
from a Unix-style path in relative form. The path
must be relative (does not begin with a leading slash /
).relativePath
- the relative pathRelativeUnixPath
Copyright © 2018. All rights reserved.