palmed.io
Interface ISerializable

All Known Subinterfaces:
IBuffer, IBufferManager, ICachable, ICache, IContent, IRecord, IRecordBuffer, ISelection, IText, ITextBox
All Known Implementing Classes:
Buffer, Cache, Content, Coordinate, LargeText, PreferencesDialog, Record, RecordBuffer, RecordBufferManager, Selection, Text, TextBox, UndoManager, Viewport

public interface ISerializable

This interface defines a serializable component.

Version:
$Revision: 339 $ $Date: 2005-12-16 18:11:13 +0900 (ven., 16 déc. 2005) $
Author:
Mathieu Champlon

Method Summary
 void marshall(java.io.OutputStream stream)
          Write to an output stream.
 void unmarshall(java.io.InputStream stream)
          Read from an input stream.
 

Method Detail

unmarshall

void unmarshall(java.io.InputStream stream)
                throws java.io.IOException
Read from an input stream.

Parameters:
stream - the stream to read from
Throws:
java.io.IOException - an io exception occurs

marshall

void marshall(java.io.OutputStream stream)
              throws java.io.IOException
Write to an output stream.

Parameters:
stream - the stream to write to
Throws:
java.io.IOException - an io exception occurs


Copyright © 2004-2006 PalmEd. All Rights Reserved.