Methods
Modifier and Type |
Method and Description |
static void |
append(XPathContext context,
One<StringValue> file,
ZeroOrMore<Item> contents) |
static void |
append(XPathContext context,
One<StringValue> file,
ZeroOrMore<Item> contents,
One<NodeInfo> params) |
static void |
appendBinary(One<StringValue> path,
ZeroOrMore<Base64BinaryValue> contents) |
static void |
appendText(One<StringValue> path,
One<StringValue> contents) |
static void |
appendText(One<StringValue> path,
One<StringValue> contents,
One<StringValue> encoding) |
static void |
appendTextLines(One<StringValue> path,
ZeroOrMore<StringValue> contents) |
static void |
appendTextLines(One<StringValue> path,
ZeroOrMore<StringValue> contents,
One<StringValue> encoding) |
static ZeroOrOne<StringValue> |
baseDir(XPathContext context) |
static ZeroOrMore<StringValue> |
children(One<StringValue> dir) |
static void |
copy(One<StringValue> source,
One<StringValue> target) |
static void |
createDir(One<StringValue> dir) |
static One<StringValue> |
createTempDir(XPathContext context,
One<StringValue> prefix,
One<StringValue> suffix) |
static One<StringValue> |
createTempDir(XPathContext context,
One<StringValue> prefix,
One<StringValue> suffix,
One<StringValue> dir) |
static One<StringValue> |
createTempFile(XPathContext context,
One<StringValue> prefix,
One<StringValue> suffix) |
static One<StringValue> |
createTempFile(XPathContext context,
One<StringValue> prefix,
One<StringValue> suffix,
One<StringValue> dir) |
static One<StringValue> |
currentDir() |
static void |
delete(One<StringValue> path) |
static void |
delete(One<StringValue> path,
boolean recurse) |
static One<StringValue> |
dirSeparator() |
static void |
error(String message,
Exception cause,
String code)
Throw an error
|
static void |
error(String message,
String code)
Throw an error
|
static One<BooleanValue> |
exists(One<StringValue> path) |
static One<BooleanValue> |
isDir(One<StringValue> path) |
static One<BooleanValue> |
isFile(One<StringValue> path) |
static One<DateTimeValue> |
lastModified(One<StringValue> path) |
static One<StringValue> |
lineSeparator() |
static ZeroOrMore<StringValue> |
list(One<StringValue> dir) |
static ZeroOrMore<StringValue> |
list(One<StringValue> dir,
One<BooleanValue> recursive) |
static ZeroOrMore<StringValue> |
list(One<StringValue> dir,
One<BooleanValue> recursive,
One<StringValue> pattern) |
static void |
move(One<StringValue> source,
One<StringValue> target) |
static One<StringValue> |
name(String path) |
static ZeroOrOne<StringValue> |
parent(String path) |
static One<StringValue> |
pathSeparator() |
static One<StringValue> |
pathToNative(One<StringValue> path) |
static One<AnyURIValue> |
pathToUri(One<StringValue> path) |
static Base64BinaryValue |
readBinary(File file,
String path,
long offset,
long length) |
static One<Base64BinaryValue> |
readBinary(One<StringValue> path) |
static One<Base64BinaryValue> |
readBinary(One<StringValue> path,
One<IntegerValue> offset) |
static One<Base64BinaryValue> |
readBinary(One<StringValue> path,
One<IntegerValue> offset,
One<IntegerValue> length) |
static One<StringValue> |
readText(XPathContext context,
One<StringValue> file) |
static One<StringValue> |
readText(XPathContext context,
One<StringValue> path,
One<StringValue> encoding) |
static ZeroOrMore<StringValue> |
readTextLines(One<StringValue> path) |
static ZeroOrMore<StringValue> |
readTextLines(One<StringValue> path,
One<StringValue> encoding) |
static One<StringValue> |
resolvePath(One<StringValue> path) |
static One<IntegerValue> |
size(One<StringValue> path) |
static One<StringValue> |
tempDir() |
static DecimalValue |
version() |
static void |
write(XPathContext context,
One<StringValue> file,
ZeroOrMore<Item> contents) |
static void |
write(XPathContext context,
One<StringValue> file,
ZeroOrMore<Item> contents,
One<NodeInfo> params) |
static void |
writeBinary(One<StringValue> path,
One<Base64BinaryValue> contents) |
static void |
writeBinary(One<StringValue> path,
One<Base64BinaryValue> contents,
One<IntegerValue> offset) |
static void |
writeText(One<StringValue> path,
One<StringValue> contents) |
static void |
writeText(One<StringValue> path,
One<StringValue> contents,
One<StringValue> encoding) |
static void |
writeTextLines(One<StringValue> path,
ZeroOrMore<StringValue> contents) |
static void |
writeTextLines(One<StringValue> path,
ZeroOrMore<StringValue> contents,
One<StringValue> encoding) |