Bees v0.5.0 API

bees.core.security
Class VersionString

java.lang.Object
  |
  +--bees.core.Capability
        |
        +--bees.core.security.GuardedStringCapability
              |
              +--bees.core.security.VersionString

public final class VersionString
extends bees.core.security.GuardedStringCapability

A VersionString capability wraps a string that can be used in place of other objects when computing hash identifiers.


Fields inherited from class bees.core.Capability
DELETE_PERMISSION, id, INVALID_ID
 
Constructor Summary
VersionString()
           
 
Method Summary
protected  void fromBytes(byte[] flattened)
          Bind this capability to the given object.
 java.lang.String getValue()
           
 void revoke()
          Revoke access to the capability.
 java.lang.String toString()
           
 
Methods inherited from class bees.core.Capability
checkPermission, clear, clonePermission, deleteCapability, equals, fromBytes, revokedPermission, revokePermission, revokePermissions, valid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionString

public VersionString()
Method Detail

getValue

public java.lang.String getValue()
Returns:
The version string.

toString

public java.lang.String toString()
Overrides:
toString in class bees.core.security.GuardedStringCapability
See Also:
Object.toString()

fromBytes

protected final void fromBytes(byte[] flattened)
                        throws java.lang.Exception
Description copied from class: Capability
Bind this capability to the given object.
Overrides:
fromBytes in class Capability
See Also:
Capability.fromBytes(byte[])

revoke

public void revoke()
Description copied from class: Capability
Revoke access to the capability.
Overrides:
revoke in class Capability
See Also:
Capability.revoke()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/