|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.files.ModuleFileExtractorTransformer
public class ModuleFileExtractorTransformer
A FileExtractor.Transformer which accepts files with paths like /mgnl-files/.../moduleName/... and stores them in ${magnolia.app.rootdir}/.../moduleName/...
Constructor Summary | |
---|---|
ModuleFileExtractorTransformer(java.lang.String moduleName)
|
Method Summary | |
---|---|
java.lang.String |
accept(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleFileExtractorTransformer(java.lang.String moduleName)
Method Detail |
---|
public java.lang.String accept(java.lang.String resourcePath)
FileExtractor.Transformer
accept
in interface FileExtractor.Transformer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |