Class PlatformApplication
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.PlatformApplication
-
public class PlatformApplication extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description PlatformApplication()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
displayFileChooser(java.lang.String mime, java.lang.String ext)
static boolean
fileChooserHasResult()
static java.lang.String
getClipboard()
static FileChooserResult
getFileChooserResult()
static byte[]
getLocalStorage(java.lang.String name)
static void
openCreditsPopup(java.lang.String text)
static void
openLink(java.lang.String url)
static java.lang.String
saveScreenshot()
static void
setClipboard(java.lang.String text)
static void
setLocalStorage(java.lang.String name, byte[] data)
static void
showPopup(java.lang.String msg)
-
-
-
Method Detail
-
openLink
public static void openLink(java.lang.String url)
-
setClipboard
public static void setClipboard(java.lang.String text)
-
getClipboard
public static java.lang.String getClipboard()
-
setLocalStorage
public static void setLocalStorage(java.lang.String name, byte[] data)
-
getLocalStorage
public static byte[] getLocalStorage(java.lang.String name)
-
saveScreenshot
public static java.lang.String saveScreenshot()
-
showPopup
public static void showPopup(java.lang.String msg)
-
displayFileChooser
public static void displayFileChooser(java.lang.String mime, java.lang.String ext)
-
fileChooserHasResult
public static boolean fileChooserHasResult()
-
getFileChooserResult
public static FileChooserResult getFileChooserResult()
-
openCreditsPopup
public static void openCreditsPopup(java.lang.String text)
-
-