public class RefUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
buildUrl(String rootPath,
String relativePath) |
static String |
computeDefinitionName(String ref) |
static RefFormat |
computeRefFormat(String ref) |
static Optional<String> |
getExternalPath(String ref) |
static boolean |
isAnExternalRefFormat(RefFormat refFormat) |
static String |
mungedRef(String refString) |
static String |
readExternalClasspathRef(String file,
RefFormat refFormat,
List<AuthorizationValue> auths,
String rootPath) |
static String |
readExternalRef(String file,
RefFormat refFormat,
List<AuthorizationValue> auths,
Path parentDirectory) |
static String |
readExternalUrlRef(String file,
RefFormat refFormat,
List<AuthorizationValue> auths,
String rootPath) |
public static boolean isAnExternalRefFormat(RefFormat refFormat)
public static String readExternalUrlRef(String file, RefFormat refFormat, List<AuthorizationValue> auths, String rootPath)
public static String readExternalClasspathRef(String file, RefFormat refFormat, List<AuthorizationValue> auths, String rootPath)
Copyright © 2023. All rights reserved.