public static class PortletIxHelper.ResourceImporter
extends java.lang.Object
Constructor and Description |
---|
ResourceImporter(com.appiancorp.ix.Type<H,I,U> type,
U uuid,
com.appiancorp.ix.ImportDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
importResource(java.io.OutputStream os,
java.lang.String resourceName)
Imports a resource (such as a file).
|
public ResourceImporter(com.appiancorp.ix.Type<H,I,U> type, U uuid, com.appiancorp.ix.ImportDriver driver)
public void importResource(java.io.OutputStream os, java.lang.String resourceName) throws AppianException
os
- The output stream into which the resource data should be written.resourceName
- The name of the resource to import. This must match the name used to
export the resource using PortletIxHelper.ResourceExporter.exportResource(InputStream, String)
.AppianException
- If the given resource cannot be written to the given stream successfully.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.