public static /*<name>*/NSURLFileSystemProperty/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/NSURLFileSystemProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/NSURLFileSystemProperty/*</name>*/.class.getName()); }
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public NSObject getResourceValue(NSURLFileSystemProperty property) throws NSErrorException { return getResourceValue(property.value()); } /**
public NSURLProperties put(NSURLFileSystemProperty property, NSObject value) { data.put(property.value(), value); return this; } public NSURLProperties put(NSURLFileProperty property, NSObject value) {
/** * @since Available in iOS 7.0 and later. */ public void removeCachedResourceValue(NSURLFileSystemProperty property) { removeCachedResourceValue(property.value()); } /**
/** * @since Available in iOS 7.0 and later. */ public void setTemporaryResourceValue(NSURLFileSystemProperty property, NSObject value) { setTemporaryResourceValue(value, property.value()); } /**
public NSURLProperties put(NSURLFileSystemProperty property, NSObject value) { data.put(property.value(), value); return this; } public NSURLProperties put(NSURLFileProperty property, NSObject value) {
/** * @since Available in iOS 7.0 and later. */ public void removeCachedResourceValue(NSURLFileSystemProperty property) { removeCachedResourceValue(property.value()); } /**
public NSObject get(NSURLFileSystemProperty property) { return data.get(property.value()); } public NSObject get(NSURLFileProperty property) {
public boolean contains(NSURLFileSystemProperty property) { return data.containsKey(property.value()); } public boolean contains(NSURLFileProperty property) {
public static /*<name>*/NSURLFileSystemProperty/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/NSURLFileSystemProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/NSURLFileSystemProperty/*</name>*/.class.getName()); }
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public NSObject getResourceValue(NSURLFileSystemProperty property) throws NSErrorException { return getResourceValue(property.value()); } /**
/** * @since Available in iOS 7.0 and later. */ public void setTemporaryResourceValue(NSURLFileSystemProperty property, NSObject value) { setTemporaryResourceValue(value, property.value()); } /**
public NSObject get(NSURLFileSystemProperty property) { return data.get(property.value()); } public NSObject get(NSURLFileProperty property) {
public boolean contains(NSURLFileSystemProperty property) { return data.containsKey(property.value()); } public boolean contains(NSURLFileProperty property) {
@MarshalsPointer public static long toNative(NSURLFileSystemProperty o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(NSURLFileSystemProperty o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(List<NSURLFileSystemProperty> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSURLFileSystemProperty o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static long toNative(List<NSURLFileSystemProperty> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSURLFileSystemProperty o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); } }
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public void setResourceValue(NSURLFileSystemProperty property, NSObject value) throws NSErrorException { NSError.NSErrorPtr err = new NSError.NSErrorPtr(); setResourceValue(value, property.value(), err); if (err.get() != null) { throw new NSErrorException(err.get()); } } /**
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public void setResourceValue(NSURLFileSystemProperty property, NSObject value) throws NSErrorException { NSError.NSErrorPtr err = new NSError.NSErrorPtr(); setResourceValue(value, property.value(), err); if (err.get() != null) { throw new NSErrorException(err.get()); } } /**