Interface IFmuFactory


public interface IFmuFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    File prefix for session relative files
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(URI uri)
    The accept method returns true if this factory will handle instantiation of the file into an FMU
    org.intocps.fmi.IFmu
    instantiate(File sessionRoot, URI uri)
    Instantiates an FMU from the file
  • Field Details

  • Method Details

    • accept

      boolean accept(URI uri)
      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

      org.intocps.fmi.IFmu instantiate(File sessionRoot, URI uri) throws Exception
      Instantiates an FMU from the file
      Parameters:
      sessionRoot - the root of the session
      uri - the FMU file or directory
      Returns:
      an instance of an FMU
      Throws:
      Exception - throws an exception for any internal error