Class ParserDetector
- java.lang.Object
-
- hudson.plugins.performance.parsers.ParserDetector
-
public class ParserDetector extends Object
Auto-detect parser for file
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
detect(String reportPath)
Detect report file type using file content.protected static String
detectXMLFileType(InputStream in)
-
-
-
Method Detail
-
detect
public static String detect(String reportPath) throws IOException
Detect report file type using file content.- Returns:
- report file type.
- Throws:
IOException
-
detectXMLFileType
protected static String detectXMLFileType(InputStream in) throws XMLStreamException
- Throws:
XMLStreamException
-
-