Class JMeterParser

    • Constructor Detail

      • JMeterParser

        public JMeterParser​(String glob,
                            String percentiles)
      • JMeterParser

        @DataBoundConstructor
        public JMeterParser​(String glob,
                            String percentiles,
                            String filterRegex)
    • Method Detail

      • isXmlFile

        public static boolean isXmlFile​(File file)
                                 throws IOException
        Utility method that checks if the provided file has XML content.

        This implementation looks for the first non-empty file. If an XML prolog appears there, this method returns true, otherwise false is returned.

        Parameters:
        file - File from which the content is to e analyzed. Cannot be null.
        Returns:
        true if the file content has been determined to be XML, otherwise false.
        Throws:
        IOException