FileIOOverrides class

Inheritance

Constructors

FileIOOverrides(File outFile, File errFile, {Logger stdLogger = logPassthrough, Logger fileLogger = logTimestamp})

Properties

errFile File
final
hashCode int
The hash code for this object.
no setterinherited
outFile File
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderr Stdout
The standard output stream of errors written by this program.
no setteroverride
stdin Stdin
The standard input stream of data read by this program.
no setteroverride
stdout Stdout
The standard output stream of data written by this program.
no setteroverride

Methods

createDirectory(String path) Directory
Creates a new Directory object for the given path.
inherited
createFile(String path) File
Creates a new File object for the given path.
inherited
Returns a new Link object for the given path.
inherited
fseGetType(String path, bool followLinks) Future<FileSystemEntityType>
Asynchronously returns the FileSystemEntityType for path.
inherited
fseGetTypeSync(String path, bool followLinks) FileSystemEntityType
Returns the FileSystemEntityType for path.
inherited
fseIdentical(String path1, String path2) Future<bool>
Asynchronously returns true if path1 and path2 are paths to the same file system object.
inherited
fseIdenticalSync(String path1, String path2) bool
Returns true if path1 and path2 are paths to the same file system object.
inherited
fsWatch(String path, int events, bool recursive) Stream<FileSystemEvent>
Returns a Stream of FileSystemEvents.
inherited
fsWatchIsSupported() bool
Returns true when FileSystemEntity.watch is supported.
inherited
getCurrentDirectory() Directory
Returns the current working directory.
inherited
getSystemTempDirectory() Directory
Returns the system temporary directory.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serverSocketBind(dynamic address, int port, {int backlog = 0, bool v6Only = false, bool shared = false}) Future<ServerSocket>
Asynchronously returns a ServerSocket that connects to the given address and port when successful.
inherited
setCurrentDirectory(String path) → void
Sets the current working directory to be path.
inherited
socketConnect(dynamic host, int port, {dynamic sourceAddress, int sourcePort = 0, Duration? timeout}) Future<Socket>
Asynchronously returns a Socket connected to the given host and port.
inherited
socketStartConnect(dynamic host, int port, {dynamic sourceAddress, int sourcePort = 0}) Future<ConnectionTask<Socket>>
Asynchronously returns a ConnectionTask that connects to the given host and port when successful.
inherited
stat(String path) Future<FileStat>
Asynchronously returns FileStat information for path.
inherited
statSync(String path) FileStat
Returns FileStat information for path.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited