|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.diyefi.openlogviewer.decoder.AbstractDecoder
public abstract class AbstractDecoder
Typical constructor for this class would look like this
public CSVTypeLog(File f) {
this.setLogFile(f);
this.setDecodedLog(new GenericLog());
this.setT(new Thread(this, "CSV Type Log Loading"));
this.getT().setPriority(Thread.MAX_PRIORITY);
this.getT().start();
}
Constructor Summary | |
---|---|
AbstractDecoder()
|
Method Summary | |
---|---|
GenericLog |
getDecodedLog()
used for getting the decided log for injection to the main pieces of the program that will use it |
File |
getLogFile()
get the log File |
Thread |
getT()
get the thread, use this if you would like to give the thread a name such as "TYPEOFLOG Thread" can also be used to set the thread priority after initialization of all variables required by the extended class you MUST call: this.getT().start(); |
void |
setDecodedLog(GenericLog decodedLog)
sets the GenericLog |
void |
setLogFile(File logFile)
set the log File |
void |
setT(Thread t)
set the Thread |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
---|
run |
Constructor Detail |
---|
public AbstractDecoder()
Method Detail |
---|
public final GenericLog getDecodedLog()
public final void setDecodedLog(GenericLog decodedLog)
decodedLog
- public final File getLogFile()
public final void setLogFile(File logFile)
logFile
- public final Thread getT()
public final void setT(Thread t)
t
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |