public class PatternPathLabelGenerator extends Object implements PathLabelGenerator
| Modifier and Type | Field and Description |
|---|---|
protected String |
pattern |
protected int |
patternPosition |
| Constructor and Description |
|---|
PatternPathLabelGenerator(String pattern) |
PatternPathLabelGenerator(String pattern,
int patternPosition) |
| Modifier and Type | Method and Description |
|---|---|
Writable |
getLabelForPath(String path) |
Writable |
getLabelForPath(URI uri) |
protected String pattern
protected int patternPosition
public PatternPathLabelGenerator(String pattern)
public PatternPathLabelGenerator(String pattern, int patternPosition)
public Writable getLabelForPath(String path)
getLabelForPath in interface PathLabelGeneratorpublic Writable getLabelForPath(URI uri)
getLabelForPath in interface PathLabelGeneratorCopyright © 2017. All rights reserved.