|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IStreamFormat
The IStreamFormat interface should be implemented by classes that want to define a custom format for the communication between the Thinkmap client and server. It produces stream writers and stream readers for the RemoteDataSource. Additionally, it provides the mime-type so that the RemoteDataSource can send the correct mime- type to the server.
| Method Summary | |
|---|---|
String |
getMimeType()
Get the mime-type of this StreamFormat. |
IStreamReader |
getStreamReader(IStreamFactory factory)
Produce a new StreamReader for this StreamFactory. |
StreamWriter |
getStreamWriter(IStreamFactory factory)
Produce a new StreamWriter for this StreamFactory. |
| Method Detail |
|---|
String getMimeType()
StreamWriter getStreamWriter(IStreamFactory factory)
factory - the factory that is producing the stream.
IStreamReader getStreamReader(IStreamFactory factory)
factory - the factory that is producing the stream.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||