org.scijava.annotations.legacy
Class LegacyReader

java.lang.Object
  extended by org.scijava.annotations.legacy.LegacyReader

public class LegacyReader
extends Object

Reads legacy annotation indexes.

For backwards-compatibility with SezPoz, this reader falls back to a custom deserializer designed to gracefully handle serialized classes even when the current class path library is incompatible with the one used to serialize the data.

Author:
Johannes Schindelin

Constructor Summary
LegacyReader(InputStream in)
           
 
Method Summary
 void close()
           
 Object readObject()
           
static String toSimpleName(Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyReader

public LegacyReader(InputStream in)
             throws IOException
Throws:
IOException
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

readObject

public Object readObject()
                  throws IOException
Throws:
IOException

toSimpleName

public static String toSimpleName(Class<?> clazz)


Copyright © 2009–2014 SciJava. All rights reserved.