public class PokePasteHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PokePasteHelper.Builder |
Constructor and Description |
---|
PokePasteHelper() |
Modifier and Type | Method and Description |
---|---|
static PokePasteHelper.Builder |
builder() |
static void |
closeQuietly(java.io.Closeable closeable) |
static java.lang.String |
format(java.util.List<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> parameters,
char parameterSeparator,
java.lang.String charset) |
static java.lang.String |
format(java.util.List<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> parameters,
java.lang.String charset) |
static java.util.concurrent.CompletableFuture<java.util.Optional<java.lang.String>> |
upload(java.lang.String paste,
java.lang.String title,
java.lang.String author) |
static void |
write(byte[] data,
java.io.OutputStream output) |
public static PokePasteHelper.Builder builder()
public static java.util.concurrent.CompletableFuture<java.util.Optional<java.lang.String>> upload(java.lang.String paste, java.lang.String title, java.lang.String author)
public static void write(byte[] data, java.io.OutputStream output) throws java.io.IOException
java.io.IOException
public static void closeQuietly(java.io.Closeable closeable)
public static java.lang.String format(java.util.List<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> parameters, java.lang.String charset)
public static java.lang.String format(java.util.List<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> parameters, char parameterSeparator, java.lang.String charset)