Class JStaticJavaFile.ChainFilter

    • Method Detail

      • process

        public java.lang.String process​(java.lang.String line)
                                 throws java.text.ParseException
        Specified by:
        process in interface JStaticJavaFile.LineFilter
        Parameters:
        line - a non-null valid String that corresponds to one line. No '\n' included.
        Returns:
        null to strip the line off. Otherwise the returned String will be written out. Do not add '\n' at the end of this string.
        Throws:
        java.text.ParseException - when for some reason there's an error in the line.