Class SesameResolver
java.lang.Object
gaiasky.util.SesameResolver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe result of a Sesame name resolution. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidresolve(String name, BiConsumer<SesameResolver.Result, String> consumer) Resolves the given object name in Sesame, and calls the consumer in the render thread.
-
Method Details
-
resolve
Resolves the given object name in Sesame, and calls the consumer in the render thread. The consumer receives the result, which is null if the object was not found, and an error message, which is null when the query succeeded.- Parameters:
name- The object name.consumer- The consumer of the result and the error, if any.
-