Class IncendoPaster.PasteFile

  • Enclosing class:
    IncendoPaster

    public static class IncendoPaster.PasteFile
    extends Object
    Simple class that represents a paste file
    • Constructor Detail

      • PasteFile

        public PasteFile​(String fileName,
                         String content)
        Construct a new paste file
        Parameters:
        fileName - File name, cannot be empty, nor null
        content - File content, cannot be empty, nor null
    • Method Detail

      • getFileName

        public String getFileName()
        Get the file name
        Returns:
        File name
      • getContent

        public String getContent()
        Get the file content as a single string
        Returns:
        File content