Package io.github.humbleui.skija.impl
Class ResourceFinder
- java.lang.Object
-
- io.github.humbleui.skija.impl.ResourceFinder
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public final class ResourceFinder extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description ResourceFinder(java.lang.String moduleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.net.URLfindResource(java.lang.String path)
-
-
-
Method Detail
-
findResource
public java.net.URL findResource(java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-