| Modifier and Type | Method and Description |
|---|---|
static PathRequirements |
Requirements.assertThat(Path parameter,
String name)
Same as
Requirements.requireThat(Path, String) but does nothing if assertions are disabled for this
class. |
PathRequirements |
PathRequirements.exists()
Ensures that the parameter exists.
|
PathRequirements |
PathRequirements.isAbsolute()
Ensures that the parameter is absolute.
|
PathRequirements |
PathRequirements.isDirectory(LinkOption... options)
Ensures that the parameter refers to a directory.
|
PathRequirements |
PathRequirements.isRegularFile(LinkOption... options)
Ensures that the parameter refers to a regular file.
|
PathRequirements |
PathRequirements.isRelative()
Ensures that the parameter is relative.
|
PathRequirements |
Assertions.requireThat(Path parameter,
String name)
Deprecated.
Same as
Requirements.requireThat(Path, String) but does nothing if assertions are
disabled. |
PathRequirements |
AssertionVerifier.requireThat(Path parameter,
String name)
Same as
RequirementVerifier.requireThat(Path, String) but does nothing if assertions
are disabled. |
static PathRequirements |
Requirements.requireThat(Path parameter,
String name)
Verifies requirements of a
Path. |
PathRequirements |
RequirementVerifier.requireThat(Path parameter,
String name)
Verifies requirements of a
Path. |
Copyright © 2016. All rights reserved.