Class ModifyTextFileInArchive

    • Constructor Detail

      • ModifyTextFileInArchive

        public ModifyTextFileInArchive()
    • Method Detail

      • getAdditionalText

        public java.lang.String getAdditionalText()
        The additional text to use when performing the defined operation.
      • setEntryPath

        public void setEntryPath​(java.lang.String entryPath)
        The path to the file in the archive to modify.
      • getEntryPath

        public java.lang.String getEntryPath()
        The path to the file in the archive to modify.
      • setLineEndings

        public void setLineEndings​(LineEnding lineEndings)
        The line ending to use.
      • getLineEndings

        public LineEnding getLineEndings()
        The line ending to use.
      • setTextOperation

        public void setTextOperation​(TextOperation textOperation)
        The text operation to perform.
      • getTextOperation

        public TextOperation getTextOperation()
        The text operation to perform.
      • setInstalledFile

        public void setInstalledFile​(FileAction file)
        The installed file the action should point to. To use this option the fileTargetType property should be set to FileTargetType.INSTALLED.
        See Also:
        #setFileTargetType(int)
      • getInstalledFile

        public FileAction getInstalledFile()
        The installed file the action should point to.
      • setExistingFile

        public void setExistingFile​(java.lang.String existingFilePath)
        The existing file path the action should point to. To use this option the fileTargetType property should be set to FileTargetType.EXISTING.
        See Also:
        #setFileTargetType(int)
      • getExistingFile

        public java.lang.String getExistingFile()
        The existing file path the action should point to.
      • setSubstituteIAVariables

        public void setSubstituteIAVariables​(boolean substitute)
        Whether to substitute the IA variables in the file.
      • getSubstituteIAVariables

        public boolean getSubstituteIAVariables()
        Whether to substitute the IA variables in the file.
      • setIgnoreUnknownIAVariables

        public void setIgnoreUnknownIAVariables​(boolean ignoreUnknownIAVariables)
        Whether to ignore unknown IA variables in the file.
      • getIgnoreUnknownIAVariables

        public boolean getIgnoreUnknownIAVariables()
        Whether to ignore unknown IA variables in the file.
      • setBackup

        public void setBackup​(boolean backup)
        Whether to create a backup of the file. This property is for internal use only and should not be set by the end user.
      • getBackup

        public boolean getBackup()
        Whether to create a backup of the file. This property is for internal use only and should not be set by the end user.
      • getFileTargetType

        public FileType getFileTargetType()
        The file target type to use.
      • setSearchAndReplaceStrings

        public void setSearchAndReplaceStrings​(java.util.Vector<KeyedData> searchReplaceStrings)
        The list of strings to search and replace. Expects a Vector of KeyedData where the propertyName is the string to search for and the propertyValue is the string to replace with.
      • getSearchAndReplaceStrings

        public java.util.Vector<KeyedData> getSearchAndReplaceStrings()
        The list of strings to search and replace.