Class PathService.CheckedPathService

java.lang.Object
io.datarouter.filesystem.raw.PathService.CheckedPathService
Enclosing class:
PathService

@Singleton
public static class PathService.CheckedPathService
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.util.Comparator<java.nio.file.Path> PATH_COMPARATOR  
  • Constructor Summary

    Constructors 
    Constructor Description
    CheckedPathService()  
  • Method Summary

    Modifier and Type Method Description
    void delete​(java.nio.file.Path fullPath)  
    java.util.List<java.nio.file.Path> listChildren​(java.nio.file.Path fullPath, java.util.Set<java.lang.String> excludingFilenames, int limit, boolean sorted)  
    java.lang.Long size​(java.nio.file.Path path)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PATH_COMPARATOR

      public static final java.util.Comparator<java.nio.file.Path> PATH_COMPARATOR
  • Constructor Details

  • Method Details

    • listChildren

      public java.util.List<java.nio.file.Path> listChildren​(java.nio.file.Path fullPath, java.util.Set<java.lang.String> excludingFilenames, int limit, boolean sorted) throws java.io.IOException
      Throws:
      java.io.IOException
    • size

      public java.lang.Long size​(java.nio.file.Path path) throws java.io.IOException
      Throws:
      java.io.IOException
    • delete

      public void delete​(java.nio.file.Path fullPath) throws java.io.IOException
      Throws:
      java.io.IOException