Uses of Class
specialized_checkers.io.CheckerFile
Packages that use CheckerFile
-
Uses of CheckerFile in specialized_checkers.io
Subclasses with type arguments of type CheckerFile in specialized_checkers.ioModifier and TypeClassDescriptionclass
CheckerFile
provides a fluent API for performing various checks and validations onFile
objects.Methods in specialized_checkers.io that return CheckerFileModifier and TypeMethodDescriptionCheckerFile.canRead()
Checks if the file can be read.CheckerFile.canWrite()
Checks if the file can be written to.static CheckerFile
Creates a CheckerFile for the given file with a default name.static CheckerFile
Creates a CheckerFile for the given file and assigns a custom name.static CheckerFile
Creates a CheckerFile from a string pathname with a default name.static CheckerFile
Creates a CheckerFile from a string pathname and assigns a custom name.CheckerFile.exists()
Checks if the file exists.CheckerFile.inRange
(int minBytes, int maxBytes) Checks if the file size is within the specified range (inclusive).CheckerFile.isIdentical
(String path) Checks if the file is identical to another file at the specified path.CheckerFile.isTypeDirectory()
Checks if the file is a directory.CheckerFile.isTypeFile()
Checks if the file is a regular file (not a directory).CheckerFile.isTypeHidden()
Checks if the file is hidden.CheckerFile.max
(int maxBytes) Checks if the file size is at most the specified maximum number of bytes.CheckerFile.min
(int minBytes) Checks if the file size is at least the specified minimum number of bytes.protected CheckerFile
CheckerFile.self()
Returns this instance (for fluent API).CheckerFile.withAnyExtension
(String... extensions) Checks if the file has any of the specified extensions.CheckerFile.withExtension
(String extension) Checks if the file has the specified extension. -
Uses of CheckerFile in util
Methods in util that return CheckerFileModifier and TypeMethodDescriptionChecker.isFile()
Checks if the object is a File and returns a CheckerFile for further validation.