Package org.aksw.commons.path.json
Class PathJson
- All Implemented Interfaces:
Serializable,Comparable<Path<PathJson.Step>>,Iterable<Path<PathJson.Step>>,Path<PathJson.Step>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic class -
Field Summary
Fields inherited from class org.aksw.commons.path.core.PathBase
isAbsolute, pathOps, segments, segmentsView -
Constructor Summary
ConstructorsConstructorDescriptionPathJson(PathOps<PathJson.Step, PathJson> pathOps, boolean isAbsolute, List<PathJson.Step> segments) -
Method Summary
Modifier and TypeMethodDescriptionstatic PathJsonnewAbsolutePath(List<PathJson.Step> segments) static PathJsonnewAbsolutePath(PathJson.Step segment) static PathJsonnewAbsolutePath(PathJson.Step... segments) static PathJsonnewRelativePath(List<PathJson.Step> segments) static PathJsonnewRelativePath(PathJson.Step segment) static PathJsonnewRelativePath(PathJson.Step... segments) static PathJsoncom.google.gson.JsonArrayMethods inherited from class org.aksw.commons.path.core.PathBase
compareLists, compareTo, endsWith, equals, getFileName, getName, getNameCount, getParent, getPathOps, getRoot, getSegments, getSystem, hashCode, isAbsolute, isParentToken, iterator, newPath, normalize, relativize, relativize, resolve, resolve, resolveSibling, resolveSibling, resolveSiblingStr, resolveStr, startsWith, subpath, subpath, toAbsolutePath, toList, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PathJson
public PathJson(PathOps<PathJson.Step, PathJson> pathOps, boolean isAbsolute, List<PathJson.Step> segments)
-
-
Method Details
-
toJsonArray
public com.google.gson.JsonArray toJsonArray() -
parse
-
newAbsolutePath
-
newAbsolutePath
-
newAbsolutePath
-
newRelativePath
-
newRelativePath
-
newRelativePath
-