Any time a storage policy is required and has not been specified explicitly, STIL will get one by calling the static method
StoragePolicy.getDefaultPolicy()(application code should follow the same procedure). You can modify the value returned by this method in two ways: you can use the
StoragePolicy.setDefaultPolicy()static method, or set the system property
startable.storage(this string is available as the constant
The permissible values for
startable.storage are currently
StoragePolicyand has a no-arg constructor. If it is, an instance of this class is constructed and installed as the default.
This means that without any code modification you can alter how
applications cache their table data by setting a system property
.starjava.properties in the user's home directory
is examined during static initialization of
for property assignments, so adding the line
startable.storage=diskin that file will have the same effect as specifying
-Dstartable.storage=diskon the java command line.
If it has not been set otherwise, the 'default' default storage policy is