Class IncendoPaster.PasteFile

java.lang.Object
com.intellectualsites.paster.IncendoPaster.PasteFile
Enclosing class:
IncendoPaster

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

    • 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 Details

    • 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