1 17 package org.alfresco.repo.importer; 18 19 import java.io.File ; 20 import java.io.FileFilter ; 21 22 import org.alfresco.service.cmr.repository.NodeRef; 23 24 30 public interface FileImporter 31 { 32 41 public int loadFile(NodeRef container, File file, boolean recurse) throws FileImporterException; 42 43 53 public int loadFile(NodeRef container, File file, FileFilter filter, boolean recurse) throws FileImporterException; 54 55 56 64 public int loadFile(NodeRef container, File file) throws FileImporterException; 65 66 public int loadNamedFile(NodeRef container, File file, boolean recurse, String name) throws FileImporterException; 67 } 68 | Popular Tags |