Uses of Class
org.klojang.path.Path
Packages that use Path
Package
Description
Classes related to following a path to the object or resource denoted by it.
-
Uses of Path in org.klojang.path
Methods in org.klojang.path that return PathModifier and TypeMethodDescriptionReturns a newPathrepresenting the concatenation of thisPathand the specifiedPath.Returns a newPathconsisting of the segments of thisPathplus the segments of the specifiedPath.static PathReturns a copy of the specified path.static PathPath.empty()Returns an emptyPathinstance, consisting of zero path segments.static PathReturns a newPathinstance for the specified path string.static PathReturns aPathconsisting of the specified segments.Path.getCanonicalPath()Returns a newPathcontaining only the segments of thisPaththat are not array indices.static PathReturns aPathconsisting of a single segment.static PathReturns aPathconsisting of the specified segments.static PathReturns aPathconsisting of the specified segments.static PathReturns aPathconsisting of the specified segments.static PathReturns aPathconsisting of the specified segments.static PathReturns aPathconsisting of the specified segments.Path.parent()Returns aPathwith all segments of thisPathexcept the last segment.Returns a newPathwith the path segment at the specified array index set to the new value.Path.reverse()Returns aPathin which the order of the segments is reversed.Path.shift()Returns aPathwith all segments of thisPathexcept the first segment.Path.subPath(int offset) Returns a newPathstarting with the segment at the specified array index.Path.subPath(int offset, int length) Returns a newPathconsisting oflengthsegments starting with segmentoffset.Methods in org.klojang.path with parameters of type PathModifier and TypeMethodDescriptionReturns a newPathconsisting of the segments of thisPathplus the segments of the specifiedPath.intstatic PathReturns a copy of the specified path.KeyDeserializer.deserialize(Path path, int segmentIndex) Converts the path segment at the specified index to a map key.static <T> TReturns the value of the specified path within the specified object.Method parameters in org.klojang.path with type arguments of type PathModifier and TypeMethodDescriptionvoidPathWalker.readValues(Object host, Map<Path, Object> output) Reads the values of all paths and inserts them into the provided path-to-value map.Constructors in org.klojang.path with parameters of type PathModifierConstructorDescriptionPathWalker(Path... paths) Creates aPathWalkerfor the specified paths.Constructor parameters in org.klojang.path with type arguments of type PathModifierConstructorDescriptionPathWalker(List<Path> paths) Creates aPathWalkerfor the specified paths.PathWalker(List<Path> paths, boolean suppressExceptions) Creates aPathWalkerfor the specified paths.PathWalker(List<Path> paths, boolean suppressExceptions, KeyDeserializer keyDeserializer) Creates aPathWalkerfor the specified paths.