org.rhq.core.clientapi.agent.metadata.i18n
Class PropertiesGenerator

java.lang.Object
  extended by org.rhq.core.clientapi.agent.metadata.i18n.PropertiesGenerator

public class PropertiesGenerator
extends Object

Generates localization properties files for a plugin descriptor. Can update existing files by appending properties that are missing to the end.


Constructor Summary
PropertiesGenerator(File xmlFile, File propertiesFile, boolean update)
           
 
Method Summary
 void generateI18NProperties()
           
static Set<String> getLocalizedAttributes(String tagName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesGenerator

public PropertiesGenerator(File xmlFile,
                           File propertiesFile,
                           boolean update)
Method Detail

getLocalizedAttributes

public static Set<String> getLocalizedAttributes(String tagName)

generateI18NProperties

public void generateI18NProperties()


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.