org.scijava.annotations.legacy
Class LegacyReader
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyReader
public LegacyReader(InputStream in)
throws IOException
- Throws:
IOException
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.