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 Object
      implements SMFVersionProbeControllerType

  A probe controller that uses `ServiceLoader`.

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javaslang.control.Validation<javaslang.collection.Seq<SMFParseError>,SMFVersionProbed>` | `probe(Supplier<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 javaslang.control.Validation<javaslang.collection.Seq<SMFParseError>,SMFVersionProbed> probe(Supplier<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

Copyright © 2017 <code@io7m.com> http://io7m.com