fml 8 tutorial
Prev | Chapter 50. IO Abstraction Layer (IO::Adapter Class) | Next

# IO::Adapter Methods

Official methods IO::Adapter provides currently follow:

    new()
    open()
    close()

    get_next_key()

    add(KEY)
    delete(KEY)

    getpos()
    setpos(NUM)
    eof()

    touch()

    find(REGEXP, $args)

KEY is a primary key to handle database access. In almost cases, the primary key is a mail address. REGEXP is a regular expression (regexp), this is usually also a mail address.

Unification of all types of IO needs that we should implement least methods.

The currently implemented methods are selected by test and our operations. If could, we refer SQL IO more than file IO as an abstraction base model of IO::Adapter. It introduces difference between fml4 and fml8 but it is mandatory for further abstraction.

Prev | Home | Next
IO Abstraction Layer (IO::Adapter Class) | Up | Argument Type Of Methods

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.