Class PolyglotModelUtil


  • public class PolyglotModelUtil
    extends Object
    Support for models.
    Since:
    0.7
    Author:
    Jason Dillon
    • Constructor Detail

      • PolyglotModelUtil

        public PolyglotModelUtil()
    • Method Detail

      • getLocation

        public static String getLocation​(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 File getLocationFile​(Map<?,​?> options)