public class JarResourceLocation extends ResourceLocation
Modifier and Type | Field and Description |
---|---|
protected List<String> |
names |
protected URI |
uri |
Constructor and Description |
---|
JarResourceLocation(String jarPath) |
JarResourceLocation(URL url) |
Modifier and Type | Method and Description |
---|---|
String |
id() |
void |
scan(String base,
Pattern regex,
List<NutResource> list) |
String |
toString() |
equals, file, getJarPath, hashCode, jar
public JarResourceLocation(URL url) throws IOException
IOException
public JarResourceLocation(String jarPath) throws IOException
IOException
public String id()
id
in class ResourceLocation
public void scan(String base, Pattern regex, List<NutResource> list)
scan
in class ResourceLocation
Copyright © 2017. All rights reserved.