Provides access to runtime related operations, such as
output redirection and type inspection.
Namespaces
Set of functions for investigating the contents of stack
Classes
Doc is a node in documentation tree, consisting
of type, identifier and text.
Type is one of
- attribute (*)
- author
- category
- class (*)
- const (*)
- constructor (*)
- default
- deprecated
- exclude
- function (*)
- interface (*)
- member (*)
- method (*)
- module (*)
- namespace (*)
- obsolete
- operator (*)
- param (*)
- reference (*)
- return
- see
- since
- synopsis
- throws (*)
- type
- var (*)
- version
- define (*)
If document is one marked with asterisk (*) then
it will also contain identifier which indicates
the name of documented entity.
Doc may also contain children docs.
Function is a callable wrapper for functions and methods.
Namespace is a wrapper for namespaces.
There are two categories of namespaces,
server namespace, declared in server's configuration
and global namespace, always present thread
specific namespace.
Class for representing access to a system resource.
Scope is a wrapper for modules and namespaces.
It provides the contained entities with
attributes or references.
Represents a single stack frame.
A thread is a thread of execution in a program.
Multiple threads of execution may be running
concurrently.
ThreadPool is pool of re-usable threads.
Re-use of threads is beneficial as the relative heavy-weight
creation of thread can be avoided.
Type is a generic representation of all the entities declared
with anvil.
Functions
Temporarily ceases the execution of current thread so that
other can execute.
Disables stack tracing.
Enables stack tracing.
Writes the of memory output stream to previous output stream in stack.
| Throws |
IOError -
if an IO error occred
|
Returns the content from memory output stream.
Returns the content from memory output stream.
Returns the content length in memory output stream.
Returns the current country setting.
Returns the output stream encoding as instanceof
java.nio.charset.Charset.
Returns the current language setting.
Returns the root namespace of loaded native libraries.
Gets the default locale, as reflected instance of java.util.Locale.
Returns namespace with given name, or null.
Returns the output stream to write to.
Gets the default timezone, as reflected instance of java.util.TimeZone.
Returns the current country variant setting.
Logs messages.
Logs error messages.
Removes previous execution output stream.
| Throws |
IOError -
if an IO error occred
|
Sets the execution output stream.
| Parameters |
output -
Output stream where to direct the output, if
omitted memory stream is used
|
Clears the content in memory output stream.
Locale: sets the country.
This setting is the default country for
operations needing it.
Sets the output stream encoding.
Locale: sets the language.
Sets the default timezone.
Enables or disables stack tracing. If enabled
will output notifications on log
when functions are entered or leaved.
Locale: sets the country variant.
This setting is the default country variant for
operations needing it.
Ceases the execution of current thread for given amount of milliseconds.
| Throws |
Interrupted -
If sleeping was interrupted
|
Writes (prints) data to output.