|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputSource
Represents abstract input source used by macroprocessor's InputQueue.
Note: You can get naming conflict with class org.xml.sax.InputSource.
Title: PMP: Macroprocessor
Description: Java macroprocessor
Copyright: Copyright (c) 2005
Method Summary | |
---|---|
void |
close()
Closes source. |
java.lang.String |
read(int maxLength)
Reads up to length bytes from input. |
Method Detail |
---|
java.lang.String read(int maxLength)
length
bytes from input.
If end of source was reached (end of file, socket closed or something like that)
returns empty string.
maxLength
- maximal length of result; must not be zero!
void close()
read
after
calling this method.
close
in interface java.io.Closeable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |