Package kieker.analysis.generic
Class FileNameLabelMapper
java.lang.Object
kieker.analysis.generic.FileNameLabelMapper
- All Implemented Interfaces:
IPathLabelMapper<java.lang.String>
public class FileNameLabelMapper extends java.lang.Object implements IPathLabelMapper<java.lang.String>
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description FileNameLabelMapper()
-
Method Summary
Modifier and Type Method Description java.lang.String
map(java.nio.file.Path path)
Map path to label.
-
Constructor Details
-
FileNameLabelMapper
public FileNameLabelMapper()
-
-
Method Details
-
map
public java.lang.String map(java.nio.file.Path path)Description copied from interface:IPathLabelMapper
Map path to label.- Specified by:
map
in interfaceIPathLabelMapper<java.lang.String>
- Parameters:
path
- input path- Returns:
- returns label
-