public String toString(){
  StringBuffer s=new StringBuffer();
  if (negative)   s.append("-");
 else   s.append("+");
  if (user instanceof Group)   s.append("Group.");
 else   s.append("User.");
  s.append(user + "=");
  Enumeration<Permission> e=permissions();
  while (e.hasMoreElements()) {
    Permission p=e.nextElement();
    s.append(p);
    if (e.hasMoreElements())     s.append(",");
  }
  return new String(s);
}

public String toString ( ) { StringBuffer s = new StringBuffer ( ) ; if ( negative ) s . append ( "-" ) ; else s . append ( "+" ) ; if ( user instanceof Group ) s . append ( "Group." ) ; else s . append ( "User." ) ; s . append ( user + "=" ) ; Enumeration < Permission > e = permissions ( ) ; while ( e . hasMoreElements ( ) ) { Permission p = e . nextElement ( ) ; s . append ( p ) ; if ( e . hasMoreElements ( ) ) s . append ( "," ) ; } return new String ( s ) ; }
return a string representation of the contents of the acl entry .
