public final class VersionDetection extends 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 IOException
resourceLoader
- the resource loader to check (must not be null
)null
if no version could be determinedIOException
- if necessary resource(s) failed to loadCopyright © 2022 JBoss by Red Hat. All rights reserved.