Class Utils
java.lang.Object
io.github.projectunified.mcserverupdater.util.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamgetExtractedInputStream(InputStream zipStream, String fileToExtract) static Filestatic Filestatic Stringstatic Comparator<String> static booleanisFailedToCreateFile(File file) static StringtoHex(byte[] bytes) static voidwriteString(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
-