public class I18nUtils extends Object
Constructor and Description |
---|
I18nUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
determinePoFileName(File template)
Given a source file (or a POT file), determine its correspnding GNU gettext PO file name.
|
static String |
determinePotFileName(File source)
Given a source file, determine its correspnding GNU gettext POT file name.
|
static boolean |
isPotFile(File file)
Is the given file a GNU gettext POT file?
The determination here is made solely upon the file extension currently.
|
public static boolean isPotFile(File file)
file
- The file to check.public static String determinePotFileName(File source)
source
- The source file.Copyright © 2007-2013 JBoss, a division of Red Hat, Inc. All Rights Reserved.