コード例 #1
0
 @Override
 public void setAttribute(String attribute, Object value) throws IOException {
   if (attribute.equals(MODE_NAME)) {
     setMode((Integer) value);
     return;
   }
   if (attribute.equals(UID_NAME)) {
     setOwners((Integer) value, -1);
     return;
   }
   if (attribute.equals(GID_NAME)) {
     setOwners(-1, (Integer) value);
     return;
   }
   super.setAttribute(attribute, value);
 }