Java tutorial
//package com.java2s; import java.util.Locale; public class Main { private static String getVersionSubdirectoryName(int version) { return String.format((Locale) null, "%s.ols%d.%d", new Object[] { "v2", Integer.valueOf(100), Integer.valueOf(version) }); } private static String getVersionSubdirectoryName() { return getVersionSubdirectoryName(1); } }