Contents
Class SoundFileValidators.SampleRateValidator
java.lang.Object
com.hypixel.hytale.server.core.asset.common.SoundFileValidators.SampleRateValidator
- All Implemented Interfaces:
Validator<String>, BiConsumer<String, ValidationResults>
- Enclosing class:
SoundFileValidators
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(String s, ValidationResults results) voidupdateSchema(SchemaContext context, Schema target) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
SampleRateValidator
public SampleRateValidator(int... allowedHz)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<String, ValidationResults>- Specified by:
acceptin interfaceValidator<String>
-
updateSchema
- Specified by:
updateSchemain interfaceValidator<String>
-