public class PathPattern extends Object
Modifier and Type | Class and Description |
---|---|
class |
PathPattern.PathCreator |
class |
PathPattern.PathParser |
Modifier and Type | Field and Description |
---|---|
private Pattern |
compiledPattern |
(package private) String |
pattern |
Constructor and Description |
---|
PathPattern(String pattern) |
Modifier and Type | Method and Description |
---|---|
PathPattern.PathCreator |
createPath() |
private String |
getParseRegex(String pattern)
Converts
|
PathPattern.PathParser |
parse(String path) |
PathPattern.PathParser |
parseIfMatches(String path) |
String |
path() |
PathPattern.PathCreator |
set(String paramName,
String value)
quick-start chaining
|
private Pattern compiledPattern
public PathPattern(String pattern)
private String getParseRegex(String pattern)
/dicomConfigurationRoot/dicomDevicesRoot[@name='{deviceName}']to
\Q/dicomConfigurationRoot/dicomDevicesRoot[@name='\E(?<deviceName>.*)\Q']\E
pattern
- public PathPattern.PathCreator set(String paramName, String value)
paramName
- value
- public PathPattern.PathCreator createPath()
public PathPattern.PathParser parse(String path)
public PathPattern.PathParser parseIfMatches(String path)
Copyright © 2017 dcm4che.org. All rights reserved.