Class PastebinHandler
java.lang.Object
java.lang.Thread
me.desht.pneumaticcraft.common.util.PastebinHandler
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic PastebinHandlerstatic Exceptionstatic PastebinHandlergetInternal(String key) static booleanisDone()static booleanstatic voidbooleanloginInternal(String userName, String password) static voidlogout()static voidputInternal(String contents) voidrun()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
username
-
password
-
contents
-
getLink
-
-
Method Details
-
isLoggedIn
public static boolean isLoggedIn() -
isDone
public static boolean isDone() -
getException
-
getHandler
-
run
public void run() -
getCleanHandler
-
login
-
logout
public static void logout() -
put
-
get
-
loginInternal
-
putInternal
-
getInternal
- Throws:
IOException
-