Package org.apache.camel.component.file.strategy

Examples of org.apache.camel.component.file.strategy.DeleteFileProcessStrategy


                throw new IllegalArgumentException(
                                                   "You cannot set the deleteFiles property and a moveFilenamePostfix or moveFilenamePrefix");
            }
            return new RenameFileProcessStrategy(isLock(), moveNamePrefix, moveNamePostfix);
        } else if (isDelete()) {
            return new DeleteFileProcessStrategy(isLock());
        } else {
            return new RenameFileProcessStrategy(isLock());
        }
    }
View Full Code Here


                throw new IllegalArgumentException(
                                                   "You cannot set the deleteFiles property and a moveFilenamePostfix or moveFilenamePrefix");
            }
            return new RenameFileProcessStrategy(isLock(), moveNamePrefix, moveNamePostfix);
        } else if (isDelete()) {
            return new DeleteFileProcessStrategy(isLock());
        } else {
            return new RenameFileProcessStrategy(isLock());
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.component.file.strategy.DeleteFileProcessStrategy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.