Interface NetworkFactory

  • All Known Implementing Classes:
    NetworkFactoryImpl

    public interface NetworkFactory
    Author:
    Geoffroy Jamgotchian
    • Method Detail

      • createNetwork

        Network createNetwork​(String id,
                              String sourceFormat)
        Create a network.
        Parameters:
        id - id of the network
        sourceFormat - source format
        Returns:
        a network
      • find

        static NetworkFactory find​(String name)
        Find a NetworkFactory instance base on its name.
        Parameters:
        name - name of the NetworkFactory
        Returns:
        NetworkFactory instance with the given name.
      • findDefault

        static NetworkFactory findDefault()
        Find default NetworkFactory instance.
        Returns:
        default NetworkFactory instance.