public static Resource getRelativeResource()

in src/main/java/com/epam/gmp/GmpResourceUtils.java [26:35]


    public static Resource getRelativeResource(Resource base, String relPath) throws ScriptInitializationException {
        try {
            return base.createRelative(relPath);
        } catch (IOException e) {
            if (logger.isErrorEnabled()) {
                logger.error("Unable to create relative resource for: " + base.toString() + relPath);
            }
            throw new ScriptInitializationException(e);
        }
    }