Skip to content

incrementing/Pastebin4Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Pastebin4Java

Paste to pastebin inside of a java application.

Using Pastebin4Java:

  1. Create new class file (eg: Pastebin.java) in a new package (eg: api.incrementing.pw).
  2. Paste in the code (https://goo.gl/Z7OpJh).
  3. Do the following to upload to pastebin:
Pastebin paste = new Pastebin("dev key", "user key", Pastebin.Visibility.PUBLIC|UNLISTED|PRIVATE, "format type", "paste name", "paste contents");
paste.makePost(); //Returns a string (eg: System.out.println(paste.makePost()); would print out the url to the paste).

About

Paste to pastebin inside of a java application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages