Package com.io7m.smfj.probe.api
Interface SMFVersionProbeControllerType
-
- All Known Implementing Classes:
SMFVersionProbeControllerOSGi
,SMFVersionProbeControllerServiceLoader
@ProviderType 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 Description SMFPartialLogged<SMFVersionProbed>
probe(java.util.function.Supplier<java.io.InputStream> stream)
Probe the given file.
-
-
-
Method Detail
-
probe
SMFPartialLogged<SMFVersionProbed> probe(java.util.function.Supplier<java.io.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
-
-