BEA Systems, Inc.

com.beasys.commerce.axiom.document.loader
Interface LoaderFilter

All Known Implementing Classes:
ImageLoaderFilter, MetaParser

public interface LoaderFilter

Interface for an object which can determine file-specific metadata for a File.


Method Summary
 void loadProperties(java.io.File f, java.util.Properties p, BulkLoader loader)
          Load the file-specific properties for the specified file into the properties, running under the given BulkLoader.
 

Method Detail

loadProperties

public void loadProperties(java.io.File f,
                           java.util.Properties p,
                           BulkLoader loader)
Load the file-specific properties for the specified file into the properties, running under the given BulkLoader.

If the filter doesn't support the given file type or if there is an error, it should do nothing. This can use the error(), warning(), and debug() methods on the specified loader. Filters can also use GlobHelper and MimeTypeHelper to determine if they should do something with the file.


BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved