Changed field marshaller registration to be compatible with DashO-style

field renaming. I'm a bad monkey for overusing reflection.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1587 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-07-17 23:05:28 +00:00
parent f53975fe74
commit 7a1a162a0d
18 changed files with 104 additions and 48 deletions
@@ -1,5 +1,5 @@
//
// $Id: FieldMarshaller.java,v 1.6 2002/02/01 23:32:37 mdb Exp $
// $Id: FieldMarshaller.java,v 1.7 2002/07/17 23:05:28 mdb Exp $
package com.threerings.presents.io;
@@ -15,6 +15,8 @@ import java.lang.reflect.Field;
*/
public interface FieldMarshaller
{
public Class getFieldType ();
public void writeTo (DataOutputStream out, Field field, Object obj)
throws IOException, IllegalAccessException;