Package com.io7m.smfj.probe.api

## Class SMFVersionProbeControllerServiceLoader

- java.lang.Object
- - com.io7m.smfj.probe.api.SMFVersionProbeControllerServiceLoader

- All Implemented Interfaces:
    `SMFVersionProbeControllerType`

      public final class SMFVersionProbeControllerServiceLoader
      extends java.lang.Object
      implements SMFVersionProbeControllerType

  A probe controller that uses `ServiceLoader`.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SMFVersionProbeControllerServiceLoader()` | Construct a new probe controller.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SMFPartialLogged<SMFVersionProbed>` | `probe​(java.util.function.Supplier<java.io.InputStream> streams)` | Probe the given file.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SMFVersionProbeControllerServiceLoader

          public SMFVersionProbeControllerServiceLoader()

      Construct a new probe controller.

  - ### Method Detail

    - #### probe

          public SMFPartialLogged<SMFVersionProbed> probe​(java.util.function.Supplier<java.io.InputStream> streams)

      Description copied from interface: `SMFVersionProbeControllerType`
      Probe the given file.
      Specified by:
        `probe` in interface `SMFVersionProbeControllerType`
      Parameters:
        `streams` - A supplier that is capable of repeatedly re-opening a file
      Returns:
        A probed version or a set of errors