com.ice.cvsc
Class CVSMode

java.lang.Object
  |
  +--com.ice.cvsc.CVSMode
All Implemented Interfaces:
java.lang.Cloneable

public class CVSMode
extends java.lang.Object
implements java.lang.Cloneable

CVSMode implements the concept of file permissions. In other words, CVSMode objects are used to represent, parse, and otherwise handle CVS 'mode' lines such as 'u=rw,g=r,o=r'.

Version:
$Revision: 2.2 $
Author:
Timothy Gerard Endres, time@ice.com.
See Also:
CVSClient, CVSEntry

Field Summary
 boolean groupExecute
           
 boolean groupRead
           
 boolean groupWrite
           
 boolean otherExecute
           
 boolean otherRead
           
 boolean otherWrite
           
static java.lang.String RCS_ID
           
static java.lang.String RCS_REV
           
 boolean userExecute
           
 boolean userRead
           
 boolean userWrite
           
 
Constructor Summary
CVSMode()
           
 
Method Summary
 java.lang.String getModeLine()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values

RCS_REV

public static final java.lang.String RCS_REV
See Also:
Constant Field Values

userRead

public boolean userRead

userWrite

public boolean userWrite

userExecute

public boolean userExecute

groupRead

public boolean groupRead

groupWrite

public boolean groupWrite

groupExecute

public boolean groupExecute

otherRead

public boolean otherRead

otherWrite

public boolean otherWrite

otherExecute

public boolean otherExecute
Constructor Detail

CVSMode

public CVSMode()
Method Detail

getModeLine

public java.lang.String getModeLine()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1997-2003, Timothy G. Endres, All Rights Reserved.