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 DetailAST
AstTreeStringPrinter. parseFileText(FileText text, boolean withComments)
Parse a text and return the parse tree.static java.lang.String
AstTreeStringPrinter. 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 FileText
FileContents. text
The text.Methods in com.puppycrawl.tools.checkstyle.api that return FileText Modifier and Type Method Description static FileText
FileText. fromLines(java.io.File file, java.util.List<java.lang.String> lines)
Compatibility conversion.FileText
FileContents. 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 newFileContents
instance.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 FileText
MultilineDetector. text
The file text content.Methods in com.puppycrawl.tools.checkstyle.checks.regexp with parameters of type FileText Modifier and Type Method Description private boolean
RegexpCheck. isIgnore(int startLine, FileText text, LineColumn start)
Detect ignore situation.void
MultilineDetector. 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 FileText
MainFrameModel. getFileText(java.io.File file)
Get FileText from a file.
-