code: protected String getEntryType(int flags, boolean all) {
  
          for (int i = 0; i < getTypes(all).length; i++) {
              if ((flags & getTypesInt()[i]) > 0) {
                  return getTypes(all)[i];
              }
          }
          return UNKNOWN_TYPE;
      }
docs: Determines the type of the current access control entry.<p>
  
  @param flags the value of the current flags
  @param all to include all types, or just user and groups
  
  @return String representation of the ace type