Class CheckstyleAntTask.Formatter

    • Method Detail

      • setTofile

        public void setTofile​(File destination)
        Set the file to output to.
        Parameters:
        destination - destination the file to output to
      • setUseFile

        public void setUseFile​(boolean use)
        Sets whether or not we write to a file if it is provided.
        Parameters:
        use - whether not to use provided file.
      • createXmlLogger

        private AuditListener createXmlLogger​(org.apache.tools.ant.Task task)
                                       throws IOException
        Creates XML logger.
        Parameters:
        task - the task to possibly log to
        Returns:
        an XMLLogger instance
        Throws:
        IOException - if an error occurs