shadow:io

Interface CanOpen

interface CanOpen

Interface CanOpen specifies that a class can be opened. This operation is usually applied to files, streams, network connections, and similar I/O abstractions.

Method Summary

Modifiers Return Types Method and Description
public () open()

Method called to open the I/O stream.

public () open(int mode)

Method called to open the I/O stream with a specific mode.

Property Summary

Modifiers Return Types Method and Description
public get (boolean) isOpen()

Method called to determine whether the I/O stream is already open.

Method Detail

open

public open() => ()

Method called to open the I/O stream.

open

public open(int mode) => ()

Method called to open the I/O stream with a specific mode.

Property Detail

isOpen

public get isOpen() => (boolean)

Method called to determine whether the I/O stream is already open.