forked from Steven/DeepJ
I'm Bored so I made a Builder #5
This commit is contained in:
parent
c135da4115
commit
3af5d6da63
@ -58,6 +58,9 @@ public class Translator {
|
||||
//NORMAL REQUEST (NO GAK) (STATIC)
|
||||
return new Translator(apiKey);
|
||||
}
|
||||
public static TranslatorBuilder newBuilder() {
|
||||
return new TranslatorBuilder();
|
||||
}
|
||||
public static Translator newTranslator() {
|
||||
//GAK (STATIC)
|
||||
if (globalAPIKey == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user