public final class Exports extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
static Objs.Property<Number> |
F_OK |
static Objs.Property<Number> |
R_OK |
static Objs.Property<Number> |
W_OK |
static Objs.Property<Number> |
X_OK |
Modifier and Type | Method and Description |
---|---|
static void |
access(String path,
double mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
access(String path,
Function.A1<? super ErrnoException,? extends Void> callback)
Tests a user's permissions for the file specified by path.
|
static void |
accessSync(String path)
Synchronous version of fs.access.
|
static void |
accessSync(String path,
double mode)
Synchronous version of fs.access.
|
static void |
appendFile(String filename,
Object data) |
static void |
appendFile(String filename,
Object data,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
appendFile(String filename,
Object data,
Objs options) |
static void |
appendFile(String filename,
Object data,
Objs options,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
appendFileSync(String filename,
Object data) |
static void |
appendFileSync(String filename,
Object data,
Objs options) |
static void |
close(double fd) |
static void |
close(double fd,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
closeSync(double fd) |
static ReadStream |
createReadStream(String path) |
static ReadStream |
createReadStream(String path,
Objs options) |
static WriteStream |
createWriteStream(String path) |
static WriteStream |
createWriteStream(String path,
Objs options) |
static void |
exists(String path) |
static void |
exists(String path,
Function.A1<? super Boolean,? extends Void> callback) |
static Boolean |
existsSync(String path) |
static void |
fchmod(double fd,
double mode) |
static void |
fchmod(double fd,
double mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
fchmod(double fd,
String mode) |
static void |
fchmod(double fd,
String mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
fchmodSync(double fd,
double mode) |
static void |
fchmodSync(double fd,
String mode) |
static void |
fchown(double fd,
double uid,
double gid) |
static void |
fchown(double fd,
double uid,
double gid,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
fchownSync(double fd,
double uid,
double gid) |
static void |
fstat(double fd) |
static void |
fstat(double fd,
Function.A2<? super ErrnoException,? super Stats,? extends Object> callback) |
static Stats |
fstatSync(double fd) |
static void |
fsync(double fd) |
static void |
fsync(double fd,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
fsyncSync(double fd) |
static void |
ftruncate(double fd) |
static void |
ftruncate(double fd,
double len) |
static void |
ftruncate(double fd,
double len,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
ftruncate(double fd,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
ftruncateSync(double fd) |
static void |
ftruncateSync(double fd,
double len) |
static void |
futimes(double fd,
Date atime,
Date mtime) |
static void |
futimes(double fd,
Date atime,
Date mtime,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
futimes(double fd,
double atime,
double mtime) |
static void |
futimes(double fd,
double atime,
double mtime,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
futimesSync(double fd,
Date atime,
Date mtime) |
static void |
futimesSync(double fd,
double atime,
double mtime) |
static void |
chmod(String path,
double mode) |
static void |
chmod(String path,
double mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
chmod(String path,
String mode) |
static void |
chmod(String path,
String mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
chmodSync(String path,
double mode) |
static void |
chmodSync(String path,
String mode) |
static void |
chown(String path,
double uid,
double gid) |
static void |
chown(String path,
double uid,
double gid,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
chownSync(String path,
double uid,
double gid) |
static void |
lchmod(String path,
double mode) |
static void |
lchmod(String path,
double mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
lchmod(String path,
String mode) |
static void |
lchmod(String path,
String mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
lchmodSync(String path,
double mode) |
static void |
lchmodSync(String path,
String mode) |
static void |
lchown(String path,
double uid,
double gid) |
static void |
lchown(String path,
double uid,
double gid,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
lchownSync(String path,
double uid,
double gid) |
static void |
link(String srcpath,
String dstpath) |
static void |
link(String srcpath,
String dstpath,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
linkSync(String srcpath,
String dstpath) |
static void |
lstat(String path) |
static void |
lstat(String path,
Function.A2<? super ErrnoException,? super Stats,? extends Object> callback) |
static Stats |
lstatSync(String path) |
static void |
mkdir(String path) |
static void |
mkdir(String path,
double mode) |
static void |
mkdir(String path,
double mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
mkdir(String path,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
mkdir(String path,
String mode) |
static void |
mkdir(String path,
String mode,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
mkdirSync(String path) |
static void |
mkdirSync(String path,
double mode) |
static void |
mkdirSync(String path,
String mode) |
static void |
open(String path,
String flags) |
static void |
open(String path,
String flags,
double mode) |
static void |
open(String path,
String flags,
double mode,
Function.A2<? super ErrnoException,? super Number,? extends Object> callback) |
static void |
open(String path,
String flags,
Function.A2<? super ErrnoException,? super Number,? extends Object> callback) |
static void |
open(String path,
String flags,
String mode) |
static void |
open(String path,
String flags,
String mode,
Function.A2<? super ErrnoException,? super Number,? extends Object> callback) |
static double |
openSync(String path,
String flags) |
static double |
openSync(String path,
String flags,
double mode) |
static double |
openSync(String path,
String flags,
String mode) |
static void |
read(double fd,
Buffer buffer,
double offset,
double length,
double position) |
static void |
read(double fd,
Buffer buffer,
double offset,
double length,
double position,
Function.A3<? super ErrnoException,? super Number,? super Buffer,? extends Void> callback) |
static void |
readdir(String path) |
static void |
readdir(String path,
Function.A2<? super ErrnoException,? super Array<String>,? extends Void> callback) |
static Array<String> |
readdirSync(String path) |
static void |
readFile(String filename,
Function.A2<? super ErrnoException,? super Buffer,? extends Void> callback) |
static void |
readFile(String filename,
Objs options,
Function.A2<? super ErrnoException,? super Buffer,? extends Void> callback) |
static void |
readFile(String filename,
String encoding,
Function.A2<? super ErrnoException,? super String,? extends Void> callback) |
static Buffer |
readFileSync(String filename) |
static Buffer |
readFileSync(String filename,
Objs options) |
static String |
readFileSync(String filename,
String encoding) |
static void |
readlink(String path) |
static void |
readlink(String path,
Function.A2<? super ErrnoException,? super String,? extends Object> callback) |
static String |
readlinkSync(String path) |
static double |
readSync(double fd,
Buffer buffer,
double offset,
double length,
double position) |
static void |
realpath(String path) |
static void |
realpath(String path,
Function.A2<? super ErrnoException,? super String,? extends Object> callback) |
static void |
realpath(String path,
Objs cache,
Function.A2<? super ErrnoException,? super String,? extends Object> callback) |
static String |
realpathSync(String path) |
static String |
realpathSync(String path,
Objs cache) |
static void |
rename(String oldPath,
String newPath)
Asynchronous rename.
|
static void |
rename(String oldPath,
String newPath,
Function.A1<? super ErrnoException,? extends Void> callback)
Asynchronous rename.
|
static void |
renameSync(String oldPath,
String newPath)
Synchronous rename
|
static void |
rmdir(String path) |
static void |
rmdir(String path,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
rmdirSync(String path) |
static void |
stat(String path) |
static void |
stat(String path,
Function.A2<? super ErrnoException,? super Stats,? extends Object> callback) |
static Stats |
statSync(String path) |
static void |
symlink(String srcpath,
String dstpath) |
static void |
symlink(String srcpath,
String dstpath,
String type) |
static void |
symlink(String srcpath,
String dstpath,
String type,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
symlinkSync(String srcpath,
String dstpath) |
static void |
symlinkSync(String srcpath,
String dstpath,
String type) |
static void |
truncate(String path) |
static void |
truncate(String path,
double len) |
static void |
truncate(String path,
double len,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
truncate(String path,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
truncateSync(String path) |
static void |
truncateSync(String path,
double len) |
static void |
unlink(String path) |
static void |
unlink(String path,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
unlinkSync(String path) |
static void |
unwatchFile(String filename) |
static void |
unwatchFile(String filename,
Function.A2<? super Stats,? super Stats,? extends Void> listener) |
static void |
utimes(String path,
Date atime,
Date mtime) |
static void |
utimes(String path,
Date atime,
Date mtime,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
utimes(String path,
double atime,
double mtime) |
static void |
utimes(String path,
double atime,
double mtime,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
utimesSync(String path,
Date atime,
Date mtime) |
static void |
utimesSync(String path,
double atime,
double mtime) |
static FSWatcher |
watch(String filename) |
static FSWatcher |
watch(String filename,
Function.A2<? super String,? super String,? extends Object> listener) |
static FSWatcher |
watch(String filename,
Objs options) |
static FSWatcher |
watch(String filename,
Objs options,
Function.A2<? super String,? super String,? extends Object> listener) |
static void |
watchFile(String filename,
Function.A2<? super Stats,? super Stats,? extends Void> listener) |
static void |
watchFile(String filename,
Objs options,
Function.A2<? super Stats,? super Stats,? extends Void> listener) |
static void |
write(double fd,
Buffer buffer,
double offset,
double length) |
static void |
write(double fd,
Buffer buffer,
double offset,
double length,
double position) |
static void |
write(double fd,
Buffer buffer,
double offset,
double length,
double position,
Function.A3<? super ErrnoException,? super Number,? super Buffer,? extends Void> callback) |
static void |
write(double fd,
Buffer buffer,
double offset,
double length,
Function.A3<? super ErrnoException,? super Number,? super Buffer,? extends Void> callback) |
static void |
write(double fd,
Object data) |
static void |
write(double fd,
Object data,
double offset) |
static void |
write(double fd,
Object data,
double offset,
Function.A3<? super ErrnoException,? super Number,? super String,? extends Void> callback) |
static void |
write(double fd,
Object data,
double offset,
String encoding) |
static void |
write(double fd,
Object data,
double offset,
String encoding,
Function.A3<? super ErrnoException,? super Number,? super String,? extends Void> callback) |
static void |
write(double fd,
Object data,
Function.A3<? super ErrnoException,? super Number,? super String,? extends Void> callback) |
static void |
writeFile(String filename,
Object data) |
static void |
writeFile(String filename,
Object data,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
writeFile(String filename,
Object data,
Objs options) |
static void |
writeFile(String filename,
Object data,
Objs options,
Function.A1<? super ErrnoException,? extends Void> callback) |
static void |
writeFileSync(String filename,
Object data) |
static void |
writeFileSync(String filename,
Object data,
Objs options) |
static double |
writeSync(double fd,
Buffer buffer,
double offset,
double length) |
static double |
writeSync(double fd,
Buffer buffer,
double offset,
double length,
double position) |
static double |
writeSync(double fd,
Object data) |
static double |
writeSync(double fd,
Object data,
double position) |
static double |
writeSync(double fd,
Object data,
double position,
String enconding) |
$as, $as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public static Objs.Property<Number> F_OK
public static Objs.Property<Number> R_OK
public static Objs.Property<Number> W_OK
public static Objs.Property<Number> X_OK
public static void access(String path, double mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void access(String path, Function.A1<? super ErrnoException,? extends Void> callback)
public static void accessSync(String path, double mode)
public static void accessSync(String path)
public static void appendFile(String filename, Object data, Function.A1<? super ErrnoException,? extends Void> callback)
public static void appendFile(String filename, Object data, Objs options, Function.A1<? super ErrnoException,? extends Void> callback)
public static void chmod(String path, double mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void chmod(String path, double mode)
public static void chmod(String path, String mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void chmodSync(String path, double mode)
public static void chown(String path, double uid, double gid, Function.A1<? super ErrnoException,? extends Void> callback)
public static void chown(String path, double uid, double gid)
public static void chownSync(String path, double uid, double gid)
public static void close(double fd, Function.A1<? super ErrnoException,? extends Void> callback)
public static void close(double fd)
public static void closeSync(double fd)
public static ReadStream createReadStream(String path, Objs options)
public static ReadStream createReadStream(String path)
public static WriteStream createWriteStream(String path, Objs options)
public static WriteStream createWriteStream(String path)
public static void exists(String path, Function.A1<? super Boolean,? extends Void> callback)
public static void exists(String path)
public static void fchmod(double fd, double mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void fchmod(double fd, double mode)
public static void fchmod(double fd, String mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void fchmod(double fd, String mode)
public static void fchmodSync(double fd, double mode)
public static void fchmodSync(double fd, String mode)
public static void fchown(double fd, double uid, double gid, Function.A1<? super ErrnoException,? extends Void> callback)
public static void fchown(double fd, double uid, double gid)
public static void fchownSync(double fd, double uid, double gid)
public static void fstat(double fd, Function.A2<? super ErrnoException,? super Stats,? extends Object> callback)
public static void fstat(double fd)
public static Stats fstatSync(double fd)
public static void fsync(double fd, Function.A1<? super ErrnoException,? extends Void> callback)
public static void fsync(double fd)
public static void fsyncSync(double fd)
public static void ftruncate(double fd, double len, Function.A1<? super ErrnoException,? extends Void> callback)
public static void ftruncate(double fd, double len)
public static void ftruncate(double fd, Function.A1<? super ErrnoException,? extends Void> callback)
public static void ftruncate(double fd)
public static void ftruncateSync(double fd, double len)
public static void ftruncateSync(double fd)
public static void futimes(double fd, double atime, double mtime, Function.A1<? super ErrnoException,? extends Void> callback)
public static void futimes(double fd, double atime, double mtime)
public static void futimes(double fd, Date atime, Date mtime, Function.A1<? super ErrnoException,? extends Void> callback)
public static void futimesSync(double fd, double atime, double mtime)
public static void lchmod(String path, double mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void lchmod(String path, double mode)
public static void lchmod(String path, String mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void lchmodSync(String path, double mode)
public static void lchown(String path, double uid, double gid, Function.A1<? super ErrnoException,? extends Void> callback)
public static void lchown(String path, double uid, double gid)
public static void lchownSync(String path, double uid, double gid)
public static void link(String srcpath, String dstpath, Function.A1<? super ErrnoException,? extends Void> callback)
public static void lstat(String path, Function.A2<? super ErrnoException,? super Stats,? extends Object> callback)
public static void lstat(String path)
public static void mkdir(String path, double mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void mkdir(String path, double mode)
public static void mkdir(String path, String mode, Function.A1<? super ErrnoException,? extends Void> callback)
public static void mkdir(String path, Function.A1<? super ErrnoException,? extends Void> callback)
public static void mkdir(String path)
public static void mkdirSync(String path, double mode)
public static void mkdirSync(String path)
public static void open(String path, String flags, double mode, Function.A2<? super ErrnoException,? super Number,? extends Object> callback)
public static void open(String path, String flags, String mode, Function.A2<? super ErrnoException,? super Number,? extends Object> callback)
public static void open(String path, String flags, Function.A2<? super ErrnoException,? super Number,? extends Object> callback)
public static void read(double fd, Buffer buffer, double offset, double length, double position, Function.A3<? super ErrnoException,? super Number,? super Buffer,? extends Void> callback)
public static void read(double fd, Buffer buffer, double offset, double length, double position)
public static void readFile(String filename, String encoding, Function.A2<? super ErrnoException,? super String,? extends Void> callback)
public static void readFile(String filename, Function.A2<? super ErrnoException,? super Buffer,? extends Void> callback)
public static void readFile(String filename, Objs options, Function.A2<? super ErrnoException,? super Buffer,? extends Void> callback)
public static double readSync(double fd, Buffer buffer, double offset, double length, double position)
public static void readdir(String path, Function.A2<? super ErrnoException,? super Array<String>,? extends Void> callback)
public static void readdir(String path)
public static void readlink(String path, Function.A2<? super ErrnoException,? super String,? extends Object> callback)
public static void readlink(String path)
public static void realpath(String path, Function.A2<? super ErrnoException,? super String,? extends Object> callback)
public static void realpath(String path)
public static void realpath(String path, Objs cache, Function.A2<? super ErrnoException,? super String,? extends Object> callback)
public static void rename(String oldPath, String newPath, Function.A1<? super ErrnoException,? extends Void> callback)
oldPath
- newPath
- callback
- No arguments other than a possible exception are given to the completion callback.public static void rename(String oldPath, String newPath)
oldPath
- newPath
- callback
- No arguments other than a possible exception are given to the completion callback.public static void renameSync(String oldPath, String newPath)
oldPath
- newPath
- public static void rmdir(String path, Function.A1<? super ErrnoException,? extends Void> callback)
public static void rmdir(String path)
public static void rmdirSync(String path)
public static void stat(String path, Function.A2<? super ErrnoException,? super Stats,? extends Object> callback)
public static void stat(String path)
public static void symlink(String srcpath, String dstpath, String type, Function.A1<? super ErrnoException,? extends Void> callback)
public static void truncate(String path, double len, Function.A1<? super ErrnoException,? extends Void> callback)
public static void truncate(String path, double len)
public static void truncate(String path, Function.A1<? super ErrnoException,? extends Void> callback)
public static void truncate(String path)
public static void truncateSync(String path, double len)
public static void truncateSync(String path)
public static void unlink(String path, Function.A1<? super ErrnoException,? extends Void> callback)
public static void unlink(String path)
public static void unlinkSync(String path)
public static void unwatchFile(String filename, Function.A2<? super Stats,? super Stats,? extends Void> listener)
public static void unwatchFile(String filename)
public static void utimes(String path, double atime, double mtime, Function.A1<? super ErrnoException,? extends Void> callback)
public static void utimes(String path, double atime, double mtime)
public static void utimes(String path, Date atime, Date mtime, Function.A1<? super ErrnoException,? extends Void> callback)
public static void utimesSync(String path, double atime, double mtime)
public static FSWatcher watch(String filename, Function.A2<? super String,? super String,? extends Object> listener)
public static FSWatcher watch(String filename, Objs options, Function.A2<? super String,? super String,? extends Object> listener)
public static void watchFile(String filename, Function.A2<? super Stats,? super Stats,? extends Void> listener)
public static void watchFile(String filename, Objs options, Function.A2<? super Stats,? super Stats,? extends Void> listener)
public static void write(double fd, Object data, double offset, String encoding, Function.A3<? super ErrnoException,? super Number,? super String,? extends Void> callback)
public static void write(double fd, Object data, double offset, Function.A3<? super ErrnoException,? super Number,? super String,? extends Void> callback)
public static void write(double fd, Object data, double offset)
public static void write(double fd, Object data, Function.A3<? super ErrnoException,? super Number,? super String,? extends Void> callback)
public static void write(double fd, Object data)
public static void write(double fd, Buffer buffer, double offset, double length, double position, Function.A3<? super ErrnoException,? super Number,? super Buffer,? extends Void> callback)
public static void write(double fd, Buffer buffer, double offset, double length, double position)
public static void write(double fd, Buffer buffer, double offset, double length, Function.A3<? super ErrnoException,? super Number,? super Buffer,? extends Void> callback)
public static void write(double fd, Buffer buffer, double offset, double length)
public static void writeFile(String filename, Object data, Function.A1<? super ErrnoException,? extends Void> callback)
public static void writeFile(String filename, Object data, Objs options, Function.A1<? super ErrnoException,? extends Void> callback)
public static double writeSync(double fd, Object data)
public static double writeSync(double fd, Object data, double position)
public static double writeSync(double fd, Buffer buffer, double offset, double length, double position)
public static double writeSync(double fd, Buffer buffer, double offset, double length)
Copyright © 2018. All rights reserved.