Class Utils
java.lang.Object
io.github.projectunified.mcserverupdater.util.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
getExtractedInputStream
(InputStream zipStream, String fileToExtract) static File
static File
static String
static Comparator
<String> static boolean
isFailedToCreateFile
(File file) static String
toHex
(byte[] bytes) static void
writeString
(File file, String string)
-
Method Details
-
toHex
-
isFailedToCreateFile
- Throws:
IOException
-
getString
- Throws:
IOException
-
writeString
- Throws:
IOException
-
getFile
- Throws:
IOException
-
getFile
- Throws:
IOException
-
getExtractedInputStream
public static InputStream getExtractedInputStream(InputStream zipStream, String fileToExtract) throws IOException - Throws:
IOException
-
getVersionComparator
-