public class ServletLocalImporter extends GadgetImporter
| Constructor and Description |
|---|
ServletLocalImporter(String name,
String gadgetPath,
javax.servlet.ServletContext servletContext,
GadgetRegistryService gadgetRegistryService) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getGadgetBytes(String gadgetURI) |
protected String |
getGadgetURL() |
protected void |
process(String gadgetPath,
GadgetDefinition def) |
protected void |
processMetadata(org.apache.shindig.gadgets.spec.ModulePrefs prefs,
GadgetDefinition def) |
doImport, getGadgetName, getGadgetURI, toStringpublic ServletLocalImporter(String name, String gadgetPath, javax.servlet.ServletContext servletContext, GadgetRegistryService gadgetRegistryService)
protected byte[] getGadgetBytes(String gadgetURI) throws IOException
getGadgetBytes in class GadgetImporterIOExceptionprotected String getGadgetURL()
getGadgetURL in class GadgetImporterprotected void processMetadata(org.apache.shindig.gadgets.spec.ModulePrefs prefs,
GadgetDefinition def)
processMetadata in class GadgetImporterprotected void process(String gadgetPath, GadgetDefinition def) throws Exception
process in class GadgetImporterExceptionCopyright © 2017 JBoss by Red Hat. All Rights Reserved.