Class ModelLoad

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ModelLoad
    extends java.lang.Object
    implements java.lang.Runnable
    Runnable for back thread loading the Model, to avoid unresponsive interface during the loading
    Author:
    nk-fouque
    • Property Summary

      Properties 
      Type Property Description
      javafx.beans.property.StringProperty state
      String to show what step of the loading is currently being done
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelLoad​(java.lang.String filename, java.lang.String format, org.apache.jena.rdf.model.Model md, NeighborsController origin, javafx.beans.property.BooleanProperty loaded, javafx.beans.property.IntegerProperty blankNodesCounter)
      Base constructor
    • Method Summary

      Modifier and Type Method Description
      void run()  
      javafx.beans.property.StringProperty stateProperty()
      String to show what step of the loading is currently being done
      • Methods inherited from class java.lang.Object

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

      • state

        public javafx.beans.property.StringProperty stateProperty
        String to show what step of the loading is currently being done
    • Constructor Detail

      • ModelLoad

        public ModelLoad​(java.lang.String filename,
                         java.lang.String format,
                         org.apache.jena.rdf.model.Model md,
                         NeighborsController origin,
                         javafx.beans.property.BooleanProperty loaded,
                         javafx.beans.property.IntegerProperty blankNodesCounter)
        Base constructor
        Parameters:
        filename - The absolute path of the RDF file on the system
        format - The format of the RDF file as a Jena-understandable string
        md - The Model to be modified inside the Controller
        origin - The Controller the loader has been called by
        loaded - Property used by the controller to know if a controller has been loaded
        blankNodesCounter -
    • Method Detail

      • stateProperty

        public javafx.beans.property.StringProperty stateProperty()
        String to show what step of the loading is currently being done
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable