Class PlanReference

    • Method Detail

      • fromFile

        public static PlanReference fromFile​(File file)
        Create a reference starting from a file path.
      • fromJsonString

        public static PlanReference fromJsonString​(String jsonString)
        Create a reference starting from a JSON string.
      • fromSmileBytes

        public static PlanReference fromSmileBytes​(byte[] smileBytes)
        Create a reference starting from a Smile binary representation.
      • fromResource

        public static PlanReference fromResource​(String resourcePath)
        Create a reference from a file in the classpath, using Thread.currentThread().getContextClassLoader() as ClassLoader.
      • fromResource

        public static PlanReference fromResource​(ClassLoader classLoader,
                                                 String resourcePath)
        Create a reference from a file in the classpath.