public class GraphConverter extends Object implements Converter<ImmutableGraph<?,?>,org.json.JSONObject>
Constructor and Description |
---|
GraphConverter(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class<ImmutableGraph<?,?>> type) |
org.json.JSONObject |
convert(ImmutableGraph<?,?> input) |
public GraphConverter(org.osgi.framework.BundleContext bundleContext)
public boolean canConvert(Class<ImmutableGraph<?,?>> type)
canConvert
in interface Converter<ImmutableGraph<?,?>,org.json.JSONObject>
public org.json.JSONObject convert(ImmutableGraph<?,?> input)
convert
in interface Converter<ImmutableGraph<?,?>,org.json.JSONObject>
Copyright © 2020. All rights reserved.