info.magnolia.module.files
Interface FileExtractor.Transformer

All Known Implementing Classes:
ModuleFileExtractorTransformer
Enclosing interface:
FileExtractor

public static interface FileExtractor.Transformer

Transforms a resource path into a file system path. (i.e where the resource is extracted) Returns null if the resource should not be extracted. TODO : find better name !


Method Summary
 String accept(String resourcePath)
          A filter in the same vein as java.io.FileFilter and such, except this returns the (absolute) targetPath of a file to be extracted, or null if the file should not be extracted.
 

Method Detail

accept

String accept(String resourcePath)
A filter in the same vein as java.io.FileFilter and such, except this returns the (absolute) targetPath of a file to be extracted, or null if the file should not be extracted.



Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.