|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jdocbook.util.I18nUtils
public class I18nUtils
Collection of utilities for dealing with i18n support, as defined by GNU gettext.
| Constructor Summary | |
|---|---|
I18nUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
determinePoFileName(java.io.File template)
Given a source file (or a POT file), determine its correspnding GNU gettext PO file name. |
static java.lang.String |
determinePotFileName(java.io.File source)
Given a source file, determine its correspnding GNU gettext POT file name. |
static boolean |
isPotFile(java.io.File file)
Is the given file a GNU gettext POT file? The determination here is made solely upon the file extension currently. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public I18nUtils()
| Method Detail |
|---|
public static boolean isPotFile(java.io.File file)
file - The file to check.
public static java.lang.String determinePotFileName(java.io.File source)
source - The source file.
public static java.lang.String determinePoFileName(java.io.File template)
template - The source (or POT) file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||