Class ResourceSupport
java.lang.Object
org.chenile.cconfig.util.ResourceSupport
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddResources(ClassLoader classLoader, List<ResourceSupport.ResolvedResource> resolvedResources, String location, int priority) private static voidaddTrajectoryResources(ClassLoader classLoader, List<ResourceSupport.ResolvedResource> resolvedResources, String normalizedBasePath, String normalizedResourceName, String customAttribute, String trajectoryId) private static StringnormalizePath(String value) static List<ResourceSupport.ResolvedResource> resourceLoader(String basePath, String resourceName, String customAttribute, String trajectoryId)
-
Field Details
-
BASE_PRIORITY
private static final int BASE_PRIORITY- See Also:
-
CUSTOM_PRIORITY
private static final int CUSTOM_PRIORITY- See Also:
-
BASE_TRAJECTORY_PRIORITY
private static final int BASE_TRAJECTORY_PRIORITY- See Also:
-
CUSTOM_TRAJECTORY_PRIORITY
private static final int CUSTOM_TRAJECTORY_PRIORITY- See Also:
-
-
Constructor Details
-
ResourceSupport
private ResourceSupport()
-
-
Method Details
-
resourceLoader
-
addResources
private static void addResources(ClassLoader classLoader, List<ResourceSupport.ResolvedResource> resolvedResources, String location, int priority) -
addTrajectoryResources
private static void addTrajectoryResources(ClassLoader classLoader, List<ResourceSupport.ResolvedResource> resolvedResources, String normalizedBasePath, String normalizedResourceName, String customAttribute, String trajectoryId) -
normalizePath
-
CHENILE