com.io7m.smfj.probe.api

## Interface SMFVersionProbeControllerType

- All Known Implementing Classes:
    SMFVersionProbeControllerOSGi, SMFVersionProbeControllerServiceLoader

      public interface SMFVersionProbeControllerType

  The type of version probe controllers. A version probe controller iterates through a set of version probes and tries to find one that can support the probed file.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `javaslang.control.Validation<javaslang.collection.Seq<SMFParseError>,SMFVersionProbed>` | `probe(Supplier<InputStream> stream)` Probe the given file.

- - ### Method Detail

    - #### probe

          javaslang.control.Validation<javaslang.collection.Seq<SMFParseError>,SMFVersionProbed> probe(Supplier<InputStream> stream)

      Probe the given file.
      Parameters:
        `stream` - 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