|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.diyefi.openlogviewer.decoder.BaseDecoder
public abstract class BaseDecoder
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 | |
|---|---|
BaseDecoder()
|
|
| 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 |
run()
Overriden Run from the Runnable Interface to do the work for us in a threaded fashion. |
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 |
| Constructor Detail |
|---|
public BaseDecoder()
| Method Detail |
|---|
public void run()
run in interface Runnablepublic GenericLog getDecodedLog()
public void setDecodedLog(GenericLog decodedLog)
decodedLog - public File getLogFile()
public void setLogFile(File logFile)
logFile - public Thread getT()
public void setT(Thread t)
t -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||