public class FileResourcePack extends AbstractResourcePack implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
static Splitter |
entryNameSplitter |
resourcePackFile
Constructor and Description |
---|
FileResourcePack(java.io.File p_i1290_1_) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
protected java.io.InputStream |
getInputStreamByName(java.lang.String p_110591_1_) |
java.util.Set |
getResourceDomains() |
boolean |
hasResourceName(java.lang.String p_110593_1_) |
getInputStream, getPackImage, getPackMetadata, getPackName, getRelativeName, logNameNotLowercase, resourceExists
protected java.io.InputStream getInputStreamByName(java.lang.String p_110591_1_) throws java.io.IOException
getInputStreamByName
in class AbstractResourcePack
java.io.IOException
public boolean hasResourceName(java.lang.String p_110593_1_)
hasResourceName
in class AbstractResourcePack
public java.util.Set getResourceDomains()
getResourceDomains
in interface IResourcePack
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException