Package com.intuit.karate.resource
Class JarResource
- java.lang.Object
-
- com.intuit.karate.resource.JarResource
-
-
Field Summary
-
Fields inherited from interface com.intuit.karate.resource.Resource
CLASSPATH_COLON, FILE_COLON, ROOT_COLON
-
-
Constructor Summary
Constructors Constructor Description JarResource(byte[] bytes, String relativePath, URI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
File
getFile()
String
getRelativePath()
InputStream
getStream()
URI
getUri()
int
hashCode()
boolean
isClassPath()
boolean
isFile()
Resource
resolve(String path)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.intuit.karate.resource.Resource
getFileNameWithoutExtension, getPackageQualifiedName, getPrefixedParentPath, getPrefixedPath
-
-
-
-
Method Detail
-
isClassPath
public boolean isClassPath()
- Specified by:
isClassPath
in interfaceResource
-
getRelativePath
public String getRelativePath()
- Specified by:
getRelativePath
in interfaceResource
-
getStream
public InputStream getStream()
-
-