When a string is used to specify a table,
it is usually the name of an external resource (file or URL)
containing a byte stream.
However, STIL also provides a pluggable interface for
referencing tables that do not originate from a byte scheme.
This is done using the
interface, either directly, or via a
StarTableFactory that maintains a list of registered schemes.
The form of a scheme specification is:
<scheme-name>is a registered scheme name or the classname of a class that implements
TableSchemeand has a no-arg constructor. So for instance
StarTable rows10 = new StarTableFactory().makeStarTable( ":loop:10" );creates a 10-row single-column table, as described by the loop scheme documentation below.
The following subsections describe the schemes provided with STIL.
Others can be implemented and installed into the
or at runtime using the
startable.schemes system property.