Package com.io7m.smfj.parser.api
Interface SMFParserEventsDataMetaOptionalSupplierType
-
- All Known Subinterfaces:
SMFParserEventsBodyType
- All Known Implementing Classes:
SMFFCopier,SMFMemoryMeshProducer,SMFParserEventsBodyIgnoringReceiver
public interface SMFParserEventsDataMetaOptionalSupplierTypeA function that may supply a metadata listener on request.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SMFParserEventsDataMetaOptionalSupplierTypeignoring()A supplier that has the effect of ignoring all metadata.java.util.Optional<SMFParserEventsDataMetaType>onMeta(SMFSchemaIdentifier schema)
-
-
-
Method Detail
-
ignoring
static SMFParserEventsDataMetaOptionalSupplierType ignoring()
A supplier that has the effect of ignoring all metadata.- Returns:
- A supplier that always returns nothing
-
onMeta
java.util.Optional<SMFParserEventsDataMetaType> onMeta(SMFSchemaIdentifier schema)
- Parameters:
schema- The schema ID- Returns:
- A listener that will receive metadata
-
-