Package org.openqa.selenium.grid.web
Class ClassPathResource
- java.lang.Object
-
- org.openqa.selenium.grid.web.ClassPathResource
-
-
Constructor Summary
Constructors Constructor Description ClassPathResource(java.net.URL resourceUrl, java.lang.String stripPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Resource>
get(java.lang.String path)
boolean
isDirectory()
java.util.Set<Resource>
list()
java.lang.String
name()
java.util.Optional<byte[]>
read()
-
-
-
Method Detail
-
get
public java.util.Optional<Resource> get(java.lang.String path)
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in interfaceResource
-
-