Package net.streamlinecloud.main
Class StreamlineCloud
java.lang.Object
net.streamlinecloud.main.StreamlineCloud
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
download
(String url, String file, CloudGroup.DownloadResponse response) static String
static int
static boolean
isPortAvailable
(int port) Checks if a port is available.static void
static void
log
(String msg, ReplacePaket[] packets) static void
static void
logImportant
(String msg) static void
static void
printError
(String error, Exception e) static String
static void
static void
shutDown()
static String
-
Constructor Details
-
StreamlineCloud
public StreamlineCloud()
-
-
Method Details
-
generateUniquePort
public static int generateUniquePort() -
isPortAvailable
public static boolean isPortAvailable(int port) Checks if a port is available.- Parameters:
port
- the port to check in the range of 1-65535- Returns:
- true if the port is available, false otherwise.
-
log
-
log
-
logError
-
logImportant
-
printError
-
logSingle
-
serverLog
-
shutDown
public static void shutDown() -
generateApiKey
-
download
-
readyBanner
-
streamlineBanner
-