public final class VersionDetection
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static Version |
detectVersion(ResourceLoader resourceLoader) |
Attempt to guess the version of a resource loader.
|
public static Version detectVersion(ResourceLoader resourceLoader) throws java.io.IOException
resourceLoader - the resource loader to check (must not be null)null if no version could be determinedjava.io.IOException - if necessary resource(s) failed to loadCopyright © 2022 JBoss by Red Hat. All rights reserved.