com.jaxfront.core.util.io
Class HelpImport

java.lang.Object
  extended by com.jaxfront.core.util.io.HelpImport

public class HelpImport
extends java.lang.Object

HelpImport splits a comma separated file into NLS.property files. For each language defined in the jaxfront.properties file a property file is created. Existing files are extinguished.

Version:
1.60

Field Summary
static java.lang.String CONSTANT_NOT_ASSIGNED
           
 
Method Summary
static void importHelp(java.io.File source, java.net.URL mainLanguageURL, java.lang.String language, java.lang.String nlsHeader)
          Splits the given csv source file into separate NLS property files.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTANT_NOT_ASSIGNED

public static final java.lang.String CONSTANT_NOT_ASSIGNED
See Also:
Constant Field Values
Method Detail

importHelp

public static void importHelp(java.io.File source,
                              java.net.URL mainLanguageURL,
                              java.lang.String language,
                              java.lang.String nlsHeader)
                       throws java.net.MalformedURLException,
                              java.io.IOException
Splits the given csv source file into separate NLS property files. Each property file starts with the nlsHeader and is saved into the mainLanguageURL folder. The language is not used at the moment and will be removed in the next release.

Parameters:
source -
mainLanguageURL -
language -
nlsHeader -
Throws:
java.net.MalformedURLException
java.io.IOException