sam.core
Class Settings.Distribution

java.lang.Object
  |
  +--sam.core.Settings.Distribution
Enclosing class:
Settings

public static class Settings.Distribution
extends java.lang.Object

Repository for various files distribution policies.


Field Summary
static java.io.File BASE_DIRECTORY
          The base directory of all source files
static java.lang.String[] BINARIES
          String[] of all binaries files
static java.lang.String[] DOCUMENTATION
          String[] of all documentation files
static java.lang.String[] FREE_SOURCES
          String[] of all freely distributable source files
static java.lang.String[] LICENSE
          String[] of all license files
static java.lang.String[] RESTRICTED_SOURCES
          String[] of all source files ruled by a dedicated license
static java.lang.String[] SDK
          String[] of all files composing the Sam Development Kit
static java.lang.String[] SOURCES
          String[] of all source files, were they restricted of freely distributable
static java.lang.String[] SRE
          String[] of all files composing the Sam Runtime Environment
 
Constructor Summary
Settings.Distribution()
           
 
Method Summary
static java.util.jar.Manifest makeManifest()
          Builds a manifest file set to boot on the main boot class.
static java.util.jar.Manifest makeManifest(java.lang.Class bootClass)
          Builds a manifest file set to boot on specified boot class.
static sam.entry.Enumerator scan(java.lang.String[] specifications)
          Scans all files macthing specifications from the runtime base directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_DIRECTORY

public static final java.io.File BASE_DIRECTORY
The base directory of all source files


BINARIES

public static final java.lang.String[] BINARIES
String[] of all binaries files


DOCUMENTATION

public static final java.lang.String[] DOCUMENTATION
String[] of all documentation files


LICENSE

public static final java.lang.String[] LICENSE
String[] of all license files


FREE_SOURCES

public static final java.lang.String[] FREE_SOURCES
String[] of all freely distributable source files


RESTRICTED_SOURCES

public static final java.lang.String[] RESTRICTED_SOURCES
String[] of all source files ruled by a dedicated license


SOURCES

public static final java.lang.String[] SOURCES
String[] of all source files, were they restricted of freely distributable


SRE

public static final java.lang.String[] SRE
String[] of all files composing the Sam Runtime Environment


SDK

public static final java.lang.String[] SDK
String[] of all files composing the Sam Development Kit

Constructor Detail

Settings.Distribution

public Settings.Distribution()
Method Detail

scan

public static sam.entry.Enumerator scan(java.lang.String[] specifications)
Scans all files macthing specifications from the runtime base directory


makeManifest

public static java.util.jar.Manifest makeManifest()
Builds a manifest file set to boot on the main boot class.

See Also:
Settings.Environment.BOOT_CLASS

makeManifest

public static java.util.jar.Manifest makeManifest(java.lang.Class bootClass)
Builds a manifest file set to boot on specified boot class.

Parameters:
bootClass - the class to boot from See Official specifications for details.