Class EglFileGeneratingTemplate

    • Constructor Detail

      • EglFileGeneratingTemplate

        protected EglFileGeneratingTemplate​(java.net.URI path,
                                            IEglContext context,
                                            java.net.URI outputRoot)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • EglFileGeneratingTemplate

        public EglFileGeneratingTemplate​(EglTemplateSpecification spec,
                                         IEglContext context,
                                         java.net.URI outputRoot,
                                         java.lang.String outputRootPath)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • EglFileGeneratingTemplate

        public EglFileGeneratingTemplate​(EglTemplateSpecification spec,
                                         IEglContext context,
                                         java.net.URI outputRoot)
                                  throws java.lang.Exception
        Parameters:
        spec -
        context -
        outputRoot -
        Throws:
        java.lang.Exception
        Since:
        1.6
    • Method Detail

      • writeNewContentsIfDifferentFromExistingContents

        protected void writeNewContentsIfDifferentFromExistingContents()
                                                                throws java.net.URISyntaxException,
                                                                       java.io.IOException
        Throws:
        java.net.URISyntaxException
        java.io.IOException
      • isOverwriteUnchangedFiles

        protected boolean isOverwriteUnchangedFiles()
      • write

        protected void write()
                      throws java.io.IOException,
                             java.net.URISyntaxException
        Throws:
        java.io.IOException
        java.net.URISyntaxException
      • getTarget

        public java.io.File getTarget()
      • setTarget

        public void setTarget​(java.io.File target)
      • getTargetName

        public java.lang.String getTargetName()
      • setTargetName

        public void setTargetName​(java.lang.String targetName)
      • getCurrentOutputFile

        public OutputFile getCurrentOutputFile()
      • setCurrentOutputFile

        public void setCurrentOutputFile​(OutputFile currentOutputFile)
      • getExistingContents

        public java.lang.String getExistingContents()
      • setExistingContents

        public void setExistingContents​(java.lang.String existingContents)
      • getNewContents

        public java.lang.String getNewContents()
      • setNewContents

        public void setNewContents​(java.lang.String newContents)
      • getPositiveMessage

        public java.lang.String getPositiveMessage()
      • setPositiveMessage

        public void setPositiveMessage​(java.lang.String positiveMessage)