Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e9da049b2e3f4e30ec00c6731b56c06171549b44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*******************************************************************************
 * Copyright (c) 2010 CEA LIST.
 * All rights reserved. This program and the accompanying materials
 * are property of the CEA, their use is subject to specific agreement 
 * with the CEA.
 * 
 * Contributors:
 *    CEA LIST - initial API and implementation
 *******************************************************************************/
package org.eclipse.papyrus.domaincontextcodegen.utils;

import org.eclipse.emf.codegen.util.CodeGenUtil;

public class StringUtils {

	public String formatUpperWithSep(String str) {
		return CodeGenUtil.format(str, '_', "", false, false).toUpperCase();
	}
}

Back to the top