Class CleanerUtils

java.lang.Object
ru.bgcrm.service.cleaner.utils.CleanerUtils

public class CleanerUtils extends Object
  • Constructor Details

    • CleanerUtils

      public CleanerUtils()
  • Method Details

    • isRegularFile

      public boolean isRegularFile(Path path)
    • getDirectoryPaths

      public Stream<Path> getDirectoryPaths(String workingDirectory)
    • getFileLastModifiedTime

      public long getFileLastModifiedTime(Path file)
    • getCurrentLocalDateTime

      public LocalDateTime getCurrentLocalDateTime()
    • isPeriodValid

      public boolean isPeriodValid(Period period)