Package io.datarouter.filesystem.raw
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 voiddelete(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.Longsize(java.nio.file.Path path)
-
Field Details
-
PATH_COMPARATOR
public static final java.util.Comparator<java.nio.file.Path> PATH_COMPARATOR
-
-
Constructor Details
-
CheckedPathService
public CheckedPathService()
-
-
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
-