class Paths {

    public static String getInstanceDirPath(final Node node, final String instanceName) {
        if (!StringUtils.ok(instanceName))
            throw new IllegalArgumentException(); // don't do that!

        return getNodeDir(node) + "/" + instanceName;
    }

    private  Paths();

}