public class CleanerUtils
extends java.lang.Object
Constructor and Description |
---|
CleanerUtils() |
Modifier and Type | Method and Description |
---|---|
java.time.LocalDateTime |
getCurrentLocalDateTime() |
java.util.stream.Stream<java.nio.file.Path> |
getDirectoryPaths(java.lang.String workingDirectory) |
long |
getFileLastModifiedTime(java.nio.file.Path file) |
boolean |
isPeriodValid(Period period) |
boolean |
isRegularFile(java.nio.file.Path path) |
public boolean isRegularFile(java.nio.file.Path path)
public java.util.stream.Stream<java.nio.file.Path> getDirectoryPaths(java.lang.String workingDirectory)
public long getFileLastModifiedTime(java.nio.file.Path file)
public java.time.LocalDateTime getCurrentLocalDateTime()
public boolean isPeriodValid(Period period)