Class UrlLoader.StreamFactory

  • All Implemented Interfaces:
    ModelLoaderFactory<java.net.URL,​java.io.InputStream>
    Enclosing class:
    UrlLoader

    public static class UrlLoader.StreamFactory
    extends java.lang.Object
    implements ModelLoaderFactory<java.net.URL,​java.io.InputStream>
    Factory for loading InputStreams from URLs.
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ModelLoader<java.net.URL,​java.io.InputStream> build​(MultiModelLoaderFactory multiFactory)
      Build a concrete ModelLoader for this model type.
      void teardown()
      A lifecycle method that will be called when this factory is about to replaced.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StreamFactory

        public StreamFactory()
    • Method Detail

      • teardown

        public void teardown()
        Description copied from interface: ModelLoaderFactory
        A lifecycle method that will be called when this factory is about to replaced.
        Specified by:
        teardown in interface ModelLoaderFactory<java.net.URL,​java.io.InputStream>