class KeyEscapeUtil {

    public static String escape(final String str) {
        requireNonNull(str);
        return str.replace("~", FAKE_TILDA)
                .replace("$", FAKE_DOLLAR)
                .replace(".", FAKE_DOT);
    }

    private  KeyEscapeUtil();

}