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 TypeMethodDescriptionbooleanexists(Path path, LinkOption... options) (package private) static NioFilesWrapperinstance()Returns the singleton instance of this class.booleanisDirectory(Path path) booleanisExecutable(Path path) booleanisReadable(Path path) booleanisRegularFile(Path path) booleanisSymbolicLink(Path path) booleanisWritable(Path path) newDirectoryStream(Path path, Predicate<Path> matcher) newInputStream(Path path, OpenOption... options) booleannotExists(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
-