Package org.assertj.core.internal
Class NioFilesWrapper
java.lang.Object
org.assertj.core.internal.NioFilesWrapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
exists
(Path path, LinkOption... options) (package private) static NioFilesWrapper
instance()
Returns the singleton instance of this class.boolean
isDirectory
(Path path) boolean
isExecutable
(Path path) boolean
isReadable
(Path path) boolean
isRegularFile
(Path path) boolean
isSymbolicLink
(Path path) boolean
isWritable
(Path path) newDirectoryStream
(Path path, Predicate<Path> matcher) newInputStream
(Path path, OpenOption... options) boolean
notExists
(Path path, LinkOption... options) long
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NioFilesWrapper
private NioFilesWrapper()
-
-
Method Details
-
instance
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
isRegularFile
-
isSymbolicLink
-
isDirectory
-
exists
-
notExists
-
isReadable
-
isWritable
-
isExecutable
-
newInputStream
- Throws:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path path, Predicate<Path> matcher) throws IOException - Throws:
IOException
-
size
- Throws:
IOException
-