com.planet_ink.coffee_mud.core
Class CMSecurity.SecPath

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.CMSecurity.SecPath
Enclosing class:
CMSecurity

public static class CMSecurity.SecPath
extends java.lang.Object

A class representing a file path, either local or virtual, that a user can be given special access to. The path can also be flagged for subop (area) access only, though the usefulness of that has never been determined.


Constructor Summary
CMSecurity.SecPath(java.lang.String path, boolean isVfs, boolean isAreaOnly)
          Constructs a path object
 
Method Summary
 java.lang.String toString()
          Converts this SecPath object back into the string path flag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMSecurity.SecPath

public CMSecurity.SecPath(java.lang.String path,
                          boolean isVfs,
                          boolean isAreaOnly)
Constructs a path object

Parameters:
path - the unix-like file path to give acesss to
isVfs - true if the path is virtual (db) only
isAreaOnly - true if the access is for subops only
Method Detail

toString

public java.lang.String toString()
Converts this SecPath object back into the string path flag

Overrides:
toString in class java.lang.Object
Returns:
this SecPath object back into the string path flag