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 PathLabelGenerator
public Writable getLabelForPath(URI uri)
getLabelForPath
in interface PathLabelGenerator
Copyright © 2016. All rights reserved.