public long getFreeNodes() { if (has(NSFileSystemAttribute.FreeNodes)) { NSNumber val = (NSNumber) get(NSFileSystemAttribute.FreeNodes); return val.longValue(); } return 0; }
public NSNetServiceErrorCode getErrorCode() { if (has(Keys.ErrorCode())) { NSNumber val = (NSNumber) get(Keys.ErrorCode()); return NSNetServiceErrorCode.valueOf(val.longValue()); } return null; }
public long getSize() { if (has(NSFileSystemAttribute.Size)) { NSNumber val = (NSNumber) get(NSFileSystemAttribute.Size); return val.longValue(); } return 0; }