public class FileResourcePack extends AbstractResourcePack implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Splitter |
entryNameSplitter |
resourcePackFile
Constructor and Description |
---|
FileResourcePack(java.io.File par1File) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
protected java.io.InputStream |
getInputStreamByName(java.lang.String par1Str) |
java.util.Set |
getResourceDomains() |
boolean |
hasResourceName(java.lang.String par1Str) |
getInputStream, getPackImage, getPackMetadata, getPackName, getRelativeName, logNameNotLowercase, resourceExists
public static final com.google.common.base.Splitter entryNameSplitter
protected java.io.InputStream getInputStreamByName(java.lang.String par1Str) throws java.io.IOException
getInputStreamByName
in class AbstractResourcePack
java.io.IOException
public boolean hasResourceName(java.lang.String par1Str)
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