|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.bee.util.StreamCatcher
public class StreamCatcher
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static char |
CR
|
static java.lang.String |
CRLF
|
static java.lang.String |
EMPTY
|
static char |
EQUAL
|
protected java.io.InputStream |
is
|
static char |
NL
|
protected java.io.PrintStream |
ps
|
protected java.lang.StringBuffer |
sb
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
StreamCatcher(java.io.InputStream is)
|
|
StreamCatcher(java.io.InputStream is,
java.io.PrintStream ps)
|
Method Summary | |
---|---|
java.util.ResourceBundle |
getAsResourceBundle()
|
java.lang.StringBuffer |
getContent()
|
boolean |
isEmpty()
|
void |
run()
|
java.util.Properties |
toProperties()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EMPTY
public static final java.lang.String CRLF
public static final char NL
public static final char CR
public static final char EQUAL
protected java.io.InputStream is
protected java.io.PrintStream ps
protected java.lang.StringBuffer sb
Constructor Detail |
---|
public StreamCatcher(java.io.InputStream is)
public StreamCatcher(java.io.InputStream is, java.io.PrintStream ps)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.StringBuffer getContent()
public java.lang.String toString()
toString
in class java.lang.Thread
public java.util.Properties toProperties()
public java.util.ResourceBundle getAsResourceBundle()
public boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |