public class FileExtensions extends Object
Provides a (very incomplete, noncompliant) implementation of http://www.expath.org/spec/file
file:exists($path as xs:string) as xs:boolean
returns true iff the file at the given path exists.
file:is-dir($path as xs:string) as xs:boolean
returns true iff the file at the given path exists and is a directory.
file:list($path as xs:string) as xs:string*
If $path is a directory, returns the names of files (and directories) in the directory in a system-dependent order. The directory itself and its parent are not included in the list
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_NAMESPACE |
| Constructor and Description |
|---|
FileExtensions() |
public static final String FILE_NAMESPACE
Copyright © 2013. All Rights Reserved.