Package org.assertj.core.internal
Class NioFilesWrapper
java.lang.Object
org.assertj.core.internal.NioFilesWrapper
Wrapper for
Files
to test methods throwing IOException
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static NioFilesWrapper
instance()
newDirectoryStream
(Path dir, DirectoryStream.Filter<? super Path> filter) newInputStream
(Path path, OpenOption... options) long
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NioFilesWrapper
private NioFilesWrapper()
-
-
Method Details
-
instance
-
newInputStream
- Throws:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException - Throws:
IOException
-
size
- Throws:
IOException
-