Package 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
-
-
Constructor Summary
Constructors Constructor Description LegacyReader(InputStream in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ObjectreadObject()static StringtoSimpleName(Class<?> clazz)
-
-
-
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
-
-