104.3.2. 절대 경로

다음과 같은 절대 디렉터리에서 hello.txt 파일에 대한 java.io.File 핸들이 있습니다. \workspace\camel\camel-core\target\file language\test. 그리고 우리는 절대 시작 디렉토리 \workspace\camel\camel-core\target\file language를 사용하도록 끝점을 구성합니다. 파일 토큰이 다음과 같이 반환됩니다.

expression반환

file:name

test\hello.txt

file:name.ext

txt

file:name.noext

test\hello

file:onlyname

hello.txt

file:onlyname.noext

hello

file:ext

txt

file:parent

\workspace\camel\camel-core\target\filelanguage\test

file:path

\workspace\camel\camel-core\target\filelanguage\test\hello.txt

file:absolute

true

file:absolute.path

\workspace\camel\camel-core\target\filelanguage\test\hello.txt