Interface InfoMapper


@ConsumerType public interface InfoMapper
An interface to define a kind of configuration file entirely written in Java. A class implementing this interface can be passed to the Parser, which will create an instance of the class before calling the map(InfoMap) method, to be filled in with Info objects defined by the user.

A class further annotated with Properties.target() gets detected by the Builder, which then delegates it to the Parser.

Note that this interface is intended to be implemented by users of JavaCPP and so is marked as a ConsumerType interface. Adding methods will be considered a breaking change.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    map(InfoMap infoMap)
     
  • Method Details