Skip to content
master
Go to file
Code
This branch is 15 commits behind SSederberg:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

JFOAAS

A Java API for Fuck Off As A Service (FOAAS) - http://foaas.com/ - Link to Github Repo

*Please note that this API tends to lag behind on updates. Feel free to submit a pull request to fix my lazyness

Example

import java.awt.Desktop;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;

import me.AnUnknownMiner.JFOAAS.Fuck;
import me.AnUnknownMiner.JFOAAS.JFOAAS;
import me.AnUnknownMiner.JFOAAS.Output;

public class Example {

	public static void main(String[] args) throws IOException, URISyntaxException {
		JFOAAS j = new JFOAAS("From", "Name");
		
		String fuck = j.withFuck(Fuck.DONUT).build();
		
		System.out.println(fuck + "\n");
		
		// You can directly print without using a String!
		System.out.println(j.withFrom("From11").withName("Name11").withFuck(Fuck.DIABETES).build());
		
		String uri = j.url();
		
		// Opens the default browser to the URI.
		if(Desktop.isDesktopSupported()) Desktop.getDesktop().browse(new URI(uri));
	}
}

About

A Java API for Fuck Off As A Service (FOAAS)

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.