Package com.prupe.mcpatcher.mal.resource
Class PropertiesFile
java.lang.Object
com.prupe.mcpatcher.mal.resource.PropertiesFile
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesFile(MCLogger logger, ResourceLocation resource) PropertiesFile(MCLogger logger, ResourceLocation resource, Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidentrySet()booleanbooleanvoidvoidvoidstatic PropertiesFileget(MCLogger logger, ResourceLocation resource) static PropertiesFileget(ResourceLocation resource) booleangetBoolean(String key, boolean defaultValue) doubleintfloatintintint[]getIntList(String key, int minValue, int maxValue) int[]getIntList(String key, int minValue, int maxValue, String defaultValue) static PropertiesFilegetNonNull(MCLogger logger, ResourceLocation resource) static PropertiesFilegetNonNull(ResourceLocation resource) getResourceLocation(String key, String defaultValue) intinthashCode()voidbooleanisLoggable(Level level) voidsetProperty(String key, String value) toString()booleanvalid()void
-
Constructor Details
-
PropertiesFile
-
PropertiesFile
-
-
Method Details
-
get
-
getNonNull
-
get
-
getNonNull
-
getString
-
getResourceLocation
-
getInt
-
getHex
-
getFloat
-
getDouble
-
getIntList
-
getIntList
-
getBoolean
-
setProperty
-
isLoggable
-
finest
-
finer
-
fine
-
info
-
config
-
warning
-
error
-
getWarningCount
public int getWarningCount() -
getErrorCount
public int getErrorCount() -
valid
public boolean valid() -
entrySet
-
getResource
-
toString
-
hashCode
public int hashCode() -
equals
-