de.rpgframework.jfx.attach.PDFViewerServiceFactory Maven / Gradle / Ivy
package de.rpgframework.jfx.attach;
import java.util.Optional;
import java.util.ServiceLoader;
public class PDFViewerServiceFactory {
private static Optional instance;
public static Optional create() {
if (instance==null) {
instance = ServiceLoader.load(PDFViewerService.class).findFirst();
}
return instance;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy