Class FileWriter

    • Constructor Detail

      • FileWriter

        public FileWriter()
    • Method Detail

      • setLanguage

        public void setLanguage​(String language)
        Sets the language.
        Parameters:
        language -
      • findTemplate

        protected String findTemplate​(Map languageSpecificPropertyMap)
      • createOutFile

        public void createOutFile​(String packageName,
                                  String fileName)
                           throws Exception
        Creates the output file.
        Parameters:
        packageName -
        fileName -
        Throws:
        Exception
      • getFileExtensionForLanguage

        protected String getFileExtensionForLanguage​(String language)
        Finds the file name extension.
        Parameters:
        language -
        Returns:
        Returns the file extension.
      • isOverride

        public boolean isOverride()
      • setOverride

        public void setOverride​(boolean override)
      • getOutputFile

        public File getOutputFile()
      • setOutputFile

        public void setOutputFile​(File outputFile)