public NSNetServiceErrorCode getErrorCode() { if (has(Keys.ErrorCode())) { NSNumber val = (NSNumber) get(Keys.ErrorCode()); return NSNetServiceErrorCode.valueOf(val.longValue()); } return null; }
public long getFreeNodes() { if (has(NSFileSystemAttribute.FreeNodes)) { NSNumber val = (NSNumber) get(NSFileSystemAttribute.FreeNodes); return val.longValue(); } return 0; }
public long getSize() { if (has(NSFileSystemAttribute.Size)) { NSNumber val = (NSNumber) get(NSFileSystemAttribute.Size); return val.longValue(); } return 0; }
/** @since Available in iOS 2.0 and later. */ public long getCurrentOffset() { NSNumber val = (NSNumber) getProperty(NSStreamProperty.FileCurrentOffset); return val.longValue(); }