Package net.minecraft.src
Class FileResourcePack
java.lang.Object
net.minecraft.src.AbstractResourcePack
net.minecraft.src.FileResourcePack
- All Implemented Interfaces:
Closeable,AutoCloseable,ResourcePack
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.base.SplitterFields inherited from class net.minecraft.src.AbstractResourcePack
resourceLog, resourcePackFile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()protected InputStreamgetInputStreamByName(String par1Str) booleanhasResourceName(String par1Str) Methods inherited from class net.minecraft.src.AbstractResourcePack
getInputStream, getPackImage, getPackMetadata, getPackName, getRelativeName, getResourcePackFile, logNameNotLowercase, readMetadata, resourceExists
-
Field Details
-
entryNameSplitter
public static final com.google.common.base.Splitter entryNameSplitter -
resourcePackZipFile
-
-
Constructor Details
-
FileResourcePack
-
-
Method Details
-
getResourcePackZipFile
- Throws:
IOException
-
getInputStreamByName
- Specified by:
getInputStreamByNamein classAbstractResourcePack- Throws:
IOException
-
hasResourceName
- Specified by:
hasResourceNamein classAbstractResourcePack
-
getResourceDomains
- Specified by:
getResourceDomainsin interfaceResourcePack
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-