public class ClassPathAssetSource extends Object implements AssetSource
Constructor and Description |
---|
ClassPathAssetSource(ClassLoader loader,
String source) |
Modifier and Type | Method and Description |
---|---|
Asset |
resolve(String path)
Resolve an asset using the given path.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create
public ClassPathAssetSource(ClassLoader loader, String source)
@Nullable public Asset resolve(@Nonnull String path)
AssetSource
resolve
in interface AssetSource
path
- Path to look for.null
.Copyright © 2020. All rights reserved.