class WorkdirPrefixer {

    public String normalize(final String name) {
        if(StringUtils.equals(name, ".")) {
            return finder.find().getAbsolute();
        }
        if(StringUtils.equals(name, "..")) {
            return finder.find().getParent().getAbsolute();
        }
        if(!this.isAbsolute(name)) {
            return String.format("%s%s%s", finder.find().getAbsolute(), PreferencesFactory.get().getProperty("local.delimiter"), name);
        }
        return name;
    }

}