@Value.Immutable public abstract class PersistentDir extends Wrapper<Path>
| Constructor and Description |
|---|
PersistentDir() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
check() |
static de.flapdoodle.types.ThrowingSupplier<PersistentDir,IOException> |
inUserHome(String subDir) |
static de.flapdoodle.types.ThrowingSupplier<PersistentDir,IOException> |
inWorkingDir(String subDir) |
static PersistentDir |
of(Path path) |
static Path |
userHome() |
static Supplier<PersistentDir> |
userHome(String subDir)
Deprecated.
|
@Value.Check protected void check()
public static PersistentDir of(Path path)
public static Path userHome()
public static de.flapdoodle.types.ThrowingSupplier<PersistentDir,IOException> inUserHome(String subDir)
public static de.flapdoodle.types.ThrowingSupplier<PersistentDir,IOException> inWorkingDir(String subDir)
@Deprecated public static Supplier<PersistentDir> userHome(String subDir)
inUserHome(String)Copyright © 2023. All rights reserved.