Piccola / Forms / Host Index

Host

Standard Bindings

The Host form provides the following standard bindings:

returnsservicedescription
ChannelnewChannel()Returns a new channel.

JPiccola

In JPiccola, the Host form additionally provides the following bindings:

Classclass(aString)Returns the Java class specified by aString. A full Java class name (such as "java.lang.String") must be specified.
StringgetProperty(aString)Returns a JPiccola System property value. See below for JPiccola System properties.

JPiccola System Properties

keydescription
java.versionJava Runtime Environment version
os.nameOperating System name
os.archOperating System architecture
os.versionOperating System version
piccola.preludePiccola prelude to be executed (default: lib/prelude.picl)
piccola.scriptPiccola script to be executed after prelude (default: lib/ide.picl)
piccola.versionPiccola Runtime Environment version
user.nameUser's account name
user.homeUser's home directory
user.dirUser's current working directory