public class NioFilesWrapper extends Object
Files to test methods throwing IOException.| Modifier and Type | Method and Description |
|---|---|
DirectoryStream<Path> |
newDirectoryStream(Path dir,
DirectoryStream.Filter<? super Path> filter) |
InputStream |
newInputStream(Path path,
OpenOption... options) |
long |
size(Path path) |
public InputStream newInputStream(Path path, OpenOption... options) throws IOException
IOExceptionpublic DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException
IOExceptionpublic long size(Path path) throws IOException
IOExceptionCopyright © 2025. All rights reserved.