com.twistedmatrix.spread
Interface ClassMapper

All Known Implementing Classes:
InsecureMapper, MapClassMapper

public interface ClassMapper

Map between class names as passed to Jelly and the real names of classes. Let's assume com.example.Foo implements Jellyable. In order for unjellying to work, we require, for o instanceof Foo:

      getClassName(o._getClassName()) == "com.example.Foo"


Method Summary
 java.lang.String getClassName(java.lang.String fakeClassName)
          Get the class's real name, e.g.
 

Method Detail

getClassName

public java.lang.String getClassName(java.lang.String fakeClassName)
Get the class's real name, e.g. "java.util.HashMap". Return null if the class is not supported.