|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.io.base.AbstractDetectorStream
public abstract class AbstractDetectorStream
This is the abstract base implementation of a DetectorStream.
| Field Summary | |
|---|---|
private boolean |
done
|
private Map<String,Object> |
metadata
|
private Map<String,Object> |
mutableMetadata
|
| Constructor Summary | |
|---|---|
AbstractDetectorStream()
The constructor. |
|
AbstractDetectorStream(Map<String,Object> mutableMetadata)
The constructor. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getMetadata()
This method gets the context with the detected metadata. |
protected Map<String,Object> |
getMutableMetadata()
This method gets the mutable Metadata. |
boolean |
isDone()
This method determines if the detection is done. |
protected void |
setDone()
This method sets the done flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Map<String,Object> mutableMetadata
getMetadata()private final Map<String,Object> metadata
getMetadata()private boolean done
isDone()| Constructor Detail |
|---|
public AbstractDetectorStream()
public AbstractDetectorStream(Map<String,Object> mutableMetadata)
mutableMetadata - is the initial mutable
metadata.| Method Detail |
|---|
public Map<String,Object> getMetadata()
done.Map have a look at
net.sf.mmm.util.metakey.api.MetakeyCore.
getMetadata in interface DetectorStreamprotected Map<String,Object> getMutableMetadata()
Metadata.
Metadata-Map that is mutable.protected void setDone()
done flag.
public boolean isDone()
true.
However the detection may be done before the end of the stream was reached
(e.g. because all metadata comes from the header of
the data).
isDone in interface DetectorStreamtrue if the metadata has been completely been
collected, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||