Uses of Class
com.puppycrawl.tools.checkstyle.api.FileText
-
Packages that use FileText Package Description com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework.com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks.com.puppycrawl.tools.checkstyle.checks.regexp Contains the regular expression checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.gui User interface classes for CheckStyle. -
-
Uses of FileText in com.puppycrawl.tools.checkstyle
Methods in com.puppycrawl.tools.checkstyle with parameters of type FileText Modifier and Type Method Description private static DetailASTAstTreeStringPrinter. parseFileText(FileText text, boolean withComments)Parse a text and return the parse tree.static java.lang.StringAstTreeStringPrinter. printAst(FileText text, boolean withComments)Parse a file and print the parse tree. -
Uses of FileText in com.puppycrawl.tools.checkstyle.api
Fields in com.puppycrawl.tools.checkstyle.api declared as FileText Modifier and Type Field Description private FileTextFileContents. textThe text.Methods in com.puppycrawl.tools.checkstyle.api that return FileText Modifier and Type Method Description static FileTextFileText. fromLines(java.io.File file, java.util.List<java.lang.String> lines)Compatibility conversion.FileTextFileContents. getText()Get the full text of the file.Constructors in com.puppycrawl.tools.checkstyle.api with parameters of type FileText Constructor Description FileContents(FileText text)Creates a newFileContentsinstance.FileText(FileText fileText)Copy constructor. -
Uses of FileText in com.puppycrawl.tools.checkstyle.checks.regexp
Fields in com.puppycrawl.tools.checkstyle.checks.regexp declared as FileText Modifier and Type Field Description private FileTextMultilineDetector. textThe file text content.Methods in com.puppycrawl.tools.checkstyle.checks.regexp with parameters of type FileText Modifier and Type Method Description private booleanRegexpCheck. isIgnore(int startLine, FileText text, LineColumn start)Detect ignore situation.voidMultilineDetector. processLines(FileText fileText)Processes an entire text file looking for matches. -
Uses of FileText in com.puppycrawl.tools.checkstyle.gui
Methods in com.puppycrawl.tools.checkstyle.gui that return FileText Modifier and Type Method Description FileTextMainFrameModel. getFileText(java.io.File file)Get FileText from a file.
-