|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectooc.SourceAbstract
ooc.SourceInputStream
Given a name and an unread input stream this class will act
as a source from which tags can be parsed. In general this class is
used by classes implementing SourceContext
.
Constructor Summary | |
SourceInputStream(java.lang.String name,
SourceContext sourceContext,
java.io.InputStream inputStream)
Constructs a source given a name, a context, and an input stream. |
Method Summary | |
java.io.InputStream |
getInputStream()
Returns the input stream of this source. |
java.lang.String |
getName()
Returns the name of this source. |
SourceContext |
getSourceContext()
Returns the context for this source. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SourceInputStream(java.lang.String name, SourceContext sourceContext, java.io.InputStream inputStream)
name
- is the name of the source.sourceContext
- is the context from which the input stream was
recovered.inputStream
- is the input stream which will provide tags.Method Detail |
public java.lang.String getName()
Source
public SourceContext getSourceContext()
Source
public java.io.InputStream getInputStream()
Source
TagParser
,
Container
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |