public class FileResourcePack extends AbstractResourcePack implements java.io.Closeable
| Modifier and Type | Field and Description | 
|---|---|
| static com.google.common.base.Splitter | entryNameSplitter | 
| private java.util.zip.ZipFile | resourcePackZipFile | 
resourcePackFile| Constructor and Description | 
|---|
| FileResourcePack(java.io.File resourcePackFileIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| protected void | finalize() | 
| protected java.io.InputStream | getInputStreamByName(java.lang.String name) | 
| java.util.Set<java.lang.String> | getResourceDomains() | 
| private java.util.zip.ZipFile | getResourcePackZipFile() | 
| boolean | hasResourceName(java.lang.String name) | 
getInputStream, getPackImage, getPackMetadata, getPackName, getRelativeName, logNameNotLowercase, readMetadata, resourceExistspublic static final com.google.common.base.Splitter entryNameSplitter
private java.util.zip.ZipFile resourcePackZipFile
private java.util.zip.ZipFile getResourcePackZipFile()
                                              throws java.io.IOException
java.io.IOExceptionprotected java.io.InputStream getInputStreamByName(java.lang.String name)
                                            throws java.io.IOException
getInputStreamByName in class AbstractResourcePackjava.io.IOExceptionpublic boolean hasResourceName(java.lang.String name)
hasResourceName in class AbstractResourcePackpublic java.util.Set<java.lang.String> getResourceDomains()
getResourceDomains in interface IResourcePackprotected void finalize()
                 throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException