Class NioFilesWrapper

java.lang.Object
org.assertj.core.internal.NioFilesWrapper

public class NioFilesWrapper extends Object
Wrapper for Files to test Paths.
  • Field Details

  • Constructor Details

    • NioFilesWrapper

      NioFilesWrapper()
  • Method Details

    • instance

      public static NioFilesWrapper instance()
      Returns the singleton instance of this class.
      Returns:
      the singleton instance of this class.
    • isRegularFile

      public boolean isRegularFile(Path path)
    • isSymbolicLink

      public boolean isSymbolicLink(Path path)
    • isDirectory

      public boolean isDirectory(Path path)
    • exists

      public boolean exists(Path path, LinkOption... options)
    • notExists

      public boolean notExists(Path path, LinkOption... options)
    • isReadable

      public boolean isReadable(Path path)
    • isWritable

      public boolean isWritable(Path path)
    • isExecutable

      public boolean isExecutable(Path path)