Class PasteUtil

java.lang.Object
com.earth2me.essentials.utils.PasteUtil

public final class PasteUtil extends Object
  • Method Details

    • createPaste

      public static CompletableFuture<PasteUtil.PasteResult> createPaste(List<PasteUtil.PasteFile> pages)
      Creates an anonymous paste containing the provided files.
      Parameters:
      pages - The files to include in the paste.
      Returns:
      The result of the paste, including the paste URL and deletion key.