Class LabelManagerFactory
java.lang.Object
org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
findMatchingLabels
(String component, String fileName, String key, String locale, boolean onlyNotUsedLabels) int
static Collection<LabelFile>
static LabelManagerFactory
getLabelFile
(String fileName) protected static void
protected static void
int
updateLabelValue
(List<String> localeNames, List<String> localeValues, List<String> localeComments, LabelInfo label, String key, String keyComment, String fileName)
-
Field Details
-
KEY_SEPARATOR
- See Also:
-
-
Method Details
-
getInstance
- Throws:
IOException
-
loadComponentNames
protected static void loadComponentNames() -
loadLabelFiles
- Throws:
IOException
-
findMatchingLabels
public void findMatchingLabels(String component, String fileName, String key, String locale, boolean onlyNotUsedLabels) throws MalformedURLException, SAXException, ParserConfigurationException, IOException, GeneralException -
getLabelFile
-
getLabels
-
getLocalesFound
-
getFilesFound
-
getComponentNamesFound
-
getLabelsList
-
getDuplicatedLocalesLabels
public int getDuplicatedLocalesLabels() -
getDuplicatedLocalesLabelsList
-
updateLabelValue
-