|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.utilities.logger.collector.StaticFileReader
public class StaticFileReader
Nested Class Summary | |
---|---|
protected class |
StaticFileReader.ReaderThread
|
Field Summary | |
---|---|
protected Collector |
collector
|
protected java.lang.String |
fileName
|
protected StaticFileReader.ReaderThread |
reader
|
Constructor Summary | |
---|---|
StaticFileReader(java.lang.String fileName)
|
Method Summary | |
---|---|
void |
addLine(java.lang.String line)
|
void |
setCollector(Collector collector)
once a collector is set, it cannot be changed |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String fileName
protected Collector collector
protected StaticFileReader.ReaderThread reader
Constructor Detail |
---|
public StaticFileReader(java.lang.String fileName)
Method Detail |
---|
public void addLine(java.lang.String line)
public void start()
start
in interface IReader
public void stop()
stop
in interface IReader
public void setCollector(Collector collector)
setCollector
in interface IReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |