org.alfresco.repo.importer
Interface AVMImporter

All Known Implementing Classes:
AVMZipImporter

public interface AVMImporter

Importer which allows the loading of part of an AVM filesystem from external resources.


Method Summary
 void importNode(java.io.InputStream input, AVMNodeDescriptor node)
          Imports the given AVM node from the source data.
 void importNode(java.io.InputStream input, java.lang.String path)
          Imports the given path and version from the source data.
 

Method Detail

importNode

void importNode(java.io.InputStream input,
                java.lang.String path)
                throws java.io.IOException
Imports the given path and version from the source data.

Parameters:
input - The stream to read from
path - The AVM path to import
version - The AVM version ID
Throws:
java.io.IOException

importNode

void importNode(java.io.InputStream input,
                AVMNodeDescriptor node)
                throws java.io.IOException
Imports the given AVM node from the source data.

Parameters:
input - The stream to read from
node - The AVM node to import
Throws:
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.