Class DiscUtils
java.lang.Object
fr.maxlego08.zauctionhouse.api.utils.DiscUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandeleteRecursive(File path) static booleandownloadUrl(String urlstring, File file) static booleandownloadUrl(String urlstring, String filename) static Stringstatic byte[]static Stringstatic Stringutf8(byte[] bytes) static byte[]static voidstatic voidwriteBytes(File file, byte[] bytes) static booleanwriteCatch(File file, String content)
-
Constructor Details
-
DiscUtils
public DiscUtils()
-
-
Method Details
-
readBytes
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
writeCatch
-
readCatch
-
downloadUrl
-
downloadUrl
-
deleteRecursive
- Throws:
FileNotFoundException
-
utf8
-
utf8
-