org.apache.camel.language.simple
Class FileExpressionBuilder

java.lang.Object
  extended by org.apache.camel.language.simple.FileExpressionBuilder

public final class FileExpressionBuilder
extends Object

A helper class for working with expressions based on files.

This expression expects the headers from the FileLanguage on the IN message.

See Also:
FileLanguage

Method Summary
static
<E extends Exchange>
Expression<E>
dateExpression(String command, String pattern)
           
static
<E extends Exchange>
Expression<E>
fileAbsolutePathExpression()
           
static
<E extends Exchange>
Expression<E>
fileCanoicalPathExpression()
           
static
<E extends Exchange>
Expression<E>
fileNameExpression()
           
static
<E extends Exchange>
Expression<E>
fileNameNoExtensionExpression()
           
static
<E extends Exchange>
Expression<E>
fileParentExpression()
           
static
<E extends Exchange>
Expression<E>
filePathExpression()
           
static
<E extends Exchange>
Expression<E>
fileSizeExpression()
           
static
<E extends Exchange>
Expression<E>
simpleExpression(String simple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fileNameExpression

public static <E extends Exchange> Expression<E> fileNameExpression()

fileNameNoExtensionExpression

public static <E extends Exchange> Expression<E> fileNameNoExtensionExpression()

fileParentExpression

public static <E extends Exchange> Expression<E> fileParentExpression()

filePathExpression

public static <E extends Exchange> Expression<E> filePathExpression()

fileAbsolutePathExpression

public static <E extends Exchange> Expression<E> fileAbsolutePathExpression()

fileCanoicalPathExpression

public static <E extends Exchange> Expression<E> fileCanoicalPathExpression()

fileSizeExpression

public static <E extends Exchange> Expression<E> fileSizeExpression()

dateExpression

public static <E extends Exchange> Expression<E> dateExpression(String command,
                                                                String pattern)

simpleExpression

public static <E extends Exchange> Expression<E> simpleExpression(String simple)


Copyright © 2009 IONA Open Source Community. All Rights Reserved.