Class FullTextFileCreate

java.lang.Object
uno.anahata.asi.toolkit.resources.text.FullTextFileCreate

public class FullTextFileCreate extends Object
A rich DTO for creating a new text file. It encapsulates the path and the initial content.
Author:
anahata
  • Field Details

    • path

      private String path
      The absolute path to the file to be created.
    • content

      private String content
      The full initial content for the new file.
  • Constructor Details

    • FullTextFileCreate

      public FullTextFileCreate()
  • Method Details

    • validate

      public void validate(Agi agi) throws AgiToolException
      Performs pre-flight validation of the creation operation.
      Parameters:
      agi - The parent agi session.
      Throws:
      AgiToolException - if validation fails.