All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.streamline.api.media.FileSetMakerService Maven / Gradle / Ivy

The newest version!
package org.daisy.streamline.api.media;

import java.util.Map;

/**
 * 

* Provides an interface for a FileSetMaker service. The purpose of * this interface is to expose an implementation of a FileSetMaker as * an OSGi service. *

* *

* To comply with this interface, an implementation must be thread safe and * address both the possibility that only a single instance is created and used * throughout and that new instances are created as desired. *

* * @author Joel Håkansson * */ public interface FileSetMakerService { /** * Builds a file set based on the supplied file. * @param f the file to create a file set for * @return returns the file set */ public FileSet create(AnnotatedFile f); /** * Builds a file set based on the supplied file. * @param f the file to create a file set for * @param parameters parameters to pass to the file set creator * @return returns the file set */ public FileSet create(AnnotatedFile f, Map parameters); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy