Oracle Solaris Trusted Extensions Developer's Guide

Range Class

The Range class represents a Java version of a Trusted Extensions label range.

This class defines the following general-purpose methods that are used to obtain the upper and lower labels in a label range and to determine whether a label is within a specified label range:

The Range class also includes the following static factories that create range objects:

The getDeviceRange and getUserRange static factories create range objects based on the range for the specified device and the specified user, respectively. The getLabelRange static factory enables you to create a label range where you specify the upper and lower bounds for the range.