Class FcCreateTextFileProps

    • Constructor Detail

      • FcCreateTextFileProps

        public FcCreateTextFileProps()
    • Method Detail

      • getByteOrderMarkMode

        public EByteOrderMarkMode getByteOrderMarkMode()
        Returns:
        Whether to add a byte order mark at the beginning of the file.
      • getCharset

        public Charset getCharset()
        Returns:
        Charset used when creating the text file.
      • getContentType

        public ETextFileContentType getContentType()
        Returns:
        The type of the file's content, used to escape placeholders properly.
      • getFileContent

        public String getFileContent()
        Returns:
        The plain text content of the file to be created, which may contain placeholders.
      • getFileName

        public String getFileName()
        Returns:
        The name of the file to be created (without directories, but with the file extension). May contain placeholders. When empty, a file name is generated automatically.
      • setByteOrderMarkMode

        public void setByteOrderMarkMode​(EByteOrderMarkMode byteOrderMarkMode)
        Parameters:
        byteOrderMarkMode - Whether to add a byte order mark at the beginning of the file.
      • setAttachToFormRecord

        public void setAttachToFormRecord​(boolean attachToFormRecord)
        Parameters:
        attachToFormRecord - Whether files created by the workflow node are attached to the form record.
      • setCharset

        public void setCharset​(Charset charset)
        Parameters:
        charset - Charset used when creating the text file.
      • setContentType

        public void setContentType​(ETextFileContentType contentType)
        Parameters:
        contentType - The type of the file's content, used to escape placeholders properly.
      • setFileContent

        public void setFileContent​(String fileContent)
        Parameters:
        fileContent - The plain text content of the file to be created, which may contain placeholders.
      • setFileName

        public void setFileName​(String fileName)
        Parameters:
        fileName - The name of the file to be created (without directories, but with the file extension). May contain placeholders. When empty, a file name is generated automatically.