LoaderFilter Interface

DEPRECATED

com.bea.p13n.content.document.ref.loader
LoaderFilter Interface

public interface LoaderFilter

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


All Known Implementing Classes
com.bea.p13n.content.document.ref.loader.MetaParser, com.bea.p13n.content.document.ref.loader.ImageLoaderFilter

Method Summary

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

Method Detail

loadProperties(File, Properties, BulkLoader) Method

public void loadProperties(File f, 
                           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 WildCard and MimeTypeHelper to determine if they should do something with the file.