public class ImgLoaders extends Object
Constructor and Description |
---|
ImgLoaders() |
Modifier and Type | Method and Description |
---|---|
static XmlIoBasicImgLoader<?> |
createXmlIoForFormat(String format) |
static <T extends BasicImgLoader> |
createXmlIoForImgLoaderClass(Class<T> klass) |
static void |
registerManually(Class<? extends XmlIoBasicImgLoader<?>> xmlIoClass)
Register an
XmlIoBasicImgLoader class manually. |
public static XmlIoBasicImgLoader<?> createXmlIoForFormat(String format) throws SpimDataInstantiationException
SpimDataInstantiationException
public static <T extends BasicImgLoader> XmlIoBasicImgLoader<T> createXmlIoForImgLoaderClass(Class<T> klass) throws SpimDataInstantiationException
SpimDataInstantiationException
public static void registerManually(Class<? extends XmlIoBasicImgLoader<?>> xmlIoClass)
XmlIoBasicImgLoader
class manually. This can be used
in case scijava-common is not present or cannot be used for other
reasons.
For example I had the case where I wanted to use a jar build by Eclipse
for a partially compiling project in Fiji. In this case (because it's
build by eclipse, the annotation index was not present.xmlIoClass
- the class to register.Copyright © 2015–2021 Fiji. All rights reserved.