|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IElementInfoFlattener
The IElementInfoFlattener
interface supports
reading and writing element info objects.
Method Summary | |
---|---|
java.lang.Object |
readElement(org.eclipse.core.runtime.IPath elementPath,
java.io.DataInput input)
Reads an element info from the given input stream. |
void |
writeElement(org.eclipse.core.runtime.IPath elementPath,
java.lang.Object element,
java.io.DataOutput output)
Writes the given element to the output stream. |
Method Detail |
---|
java.lang.Object readElement(org.eclipse.core.runtime.IPath elementPath, java.io.DataInput input) throws java.io.IOException
elementPath
- the path of the element to be readinput
- the stream from which the element info should be read.
null
.
java.io.IOException
void writeElement(org.eclipse.core.runtime.IPath elementPath, java.lang.Object element, java.io.DataOutput output) throws java.io.IOException
N.B. The bytes written must be sufficient for the purposes of reading the object back in.
elementPath
- the element's path in the treeelement
- the object associated with the given path,
which may be null
.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |