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