java.lang.Object
kieker.analysis.generic.graph.mapping.SimpleFileNameMapper<N,E>
- Type Parameters:
N
- node typeE
- edge type
- All Implemented Interfaces:
java.util.function.Function<IGraph<N,E>,java.nio.file.Path>
public class SimpleFileNameMapper<N extends INode,E extends IEdge> extends java.lang.Object implements java.util.function.Function<IGraph<N,E>,java.nio.file.Path>
This function maps a graph to a file name with a specific pattern.
Pattern is defined as: output directory + graph name + file extension
- Since:
- 1.14
- Author:
- Sören Henning
-
Constructor Summary
Constructors Constructor Description SimpleFileNameMapper(java.nio.file.Path outputDirectory, java.lang.String fileExtension)
Create a simple file mapper. -
Method Summary
-
Constructor Details
-
SimpleFileNameMapper
public SimpleFileNameMapper(java.nio.file.Path outputDirectory, java.lang.String fileExtension)Create a simple file mapper.- Parameters:
outputDirectory
- output directory pathfileExtension
- file extension for the graph
-
-
Method Details