Package org.openqa.selenium.grid.web
Class PathResource
- java.lang.Object
-
- org.openqa.selenium.grid.web.PathResource
-
-
Constructor Summary
Constructors Constructor Description PathResource(java.nio.file.Path base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Resource>
get(java.lang.String path)
boolean
isDirectory()
PathResource
limit(java.lang.String... subpaths)
java.util.Set<Resource>
list()
java.lang.String
name()
java.util.Optional<byte[]>
read()
-
-
-
Method Detail
-
limit
public PathResource limit(java.lang.String... subpaths)
-
get
public java.util.Optional<Resource> get(java.lang.String path)
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in interfaceResource
-
-