Beispiel #1
0
        public static String ToPath(String path)
        {
            StringBuilder builder = new StringBuilder();

            String[] parts = StringUtils.Split(path, ".");
            bool     first = true;

            foreach (String part in parts)
            {
                if (!first)
                {
                    builder.Append(".");
                }
                builder.Append(WordUtils.Capitalize(part));
                first = false;
            }
            return(builder.ToString());
        }