Package com.fastasyncworldedit.core.util
Class ImgurUtility
java.lang.Object
com.fastasyncworldedit.core.util.ImgurUtility
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getImgurContent
(String clientID, byte[] image) static URL
uploadImage
(byte[] image) static URL
uploadImage
(File file) static URL
uploadImage
(InputStream inputStream)
-
Field Details
-
CLIENT_ID
- See Also:
-
-
Constructor Details
-
ImgurUtility
public ImgurUtility()
-
-
Method Details
-
uploadImage
- Throws:
IOException
-
uploadImage
- Throws:
IOException
-
uploadImage
- Throws:
IOException
-
getImgurContent
- Throws:
IOException
-