Interface IFmuFactory
public interface IFmuFactory
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe accept method returns true if this factory will handle instantiation of the file into an FMUorg.intocps.fmi.IFmuinstantiate(File sessionRoot, URI uri) Instantiates an FMU from the file
-
Field Details
-
SESSION_SCHEME
File prefix for session relative files- See Also:
-
-
Method Details
-
accept
The accept method returns true if this factory will handle instantiation of the file into an FMU- Parameters:
uri- the file- Returns:
- true, if handled by this factory
-
instantiate
Instantiates an FMU from the file- Parameters:
sessionRoot- the root of the sessionuri- the FMU file or directory- Returns:
- an instance of an FMU
- Throws:
Exception- throws an exception for any internal error
-