|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataFlattener
The IElementInfoFlattener interface supports
reading and writing element info objects.
| Method Summary | |
|---|---|
java.lang.Object |
readData(org.eclipse.core.runtime.IPath path,
java.io.DataInput input)
Reads a data object from the given input stream. |
void |
writeData(org.eclipse.core.runtime.IPath path,
java.lang.Object data,
java.io.DataOutput output)
Writes the given data to the output stream. |
| Method Detail |
|---|
java.lang.Object readData(org.eclipse.core.runtime.IPath path,
java.io.DataInput input)
throws java.io.IOException
path - the path of the element to be readinput - the stream from which the element info should be read.
null.
java.io.IOException
void writeData(org.eclipse.core.runtime.IPath path,
java.lang.Object data,
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.
path - the element's path in the treedata - 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 | |||||||||