Class PolyglotModelUtil


  • public class PolyglotModelUtil
    extends java.lang.Object
    Support for models.
    Since:
    0.7
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getLocation​(java.util.Map<?,​?> options)
      Gets the location, as configured via the ModelProcessor.SOURCE key.
      static java.io.File getLocationFile​(java.util.Map<?,​?> options)  
      • Methods inherited from class java.lang.Object

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

      • PolyglotModelUtil

        public PolyglotModelUtil()
    • Method Detail

      • getLocation

        public static java.lang.String getLocation​(java.util.Map<?,​?> options)
        Gets the location, as configured via the ModelProcessor.SOURCE key. Supports values of:
        • String
        • File
        • URL
        • ModelSource
        Returns:
        The model location; or null.
      • getLocationFile

        public static java.io.File getLocationFile​(java.util.Map<?,​?> options)