/** * @since Available in iOS 7.0 and later. */ public void removeCachedResourceValue(NSURLVolumeProperty property) { removeCachedResourceValue(property.value()); } /**
@MarshalsPointer public static NSURLVolumeProperty toObject(Class<NSURLVolumeProperty> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return NSURLVolumeProperty.valueOf(o); } @MarshalsPointer
@MarshalsPointer public static NSURLVolumeProperty toObject(Class<NSURLVolumeProperty> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return NSURLVolumeProperty.valueOf(o); } @MarshalsPointer
/** * @since Available in iOS 7.0 and later. */ public void setTemporaryResourceValue(NSURLVolumeProperty property, NSObject value) { setTemporaryResourceValue(value, property.value()); } /**
@SuppressWarnings("unchecked") @MarshalsPointer public static List<NSURLVolumeProperty> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<NSURLVolumeProperty> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(NSURLVolumeProperty.valueOf(o.get(i))); } return list; } @MarshalsPointer
public NSURLProperties put(NSURLVolumeProperty property, NSObject value) { data.put(property.value(), value); return this; } public NSURLProperties put(NSURLUbiquitousItemProperty property, NSObject value) {
@SuppressWarnings("unchecked") @MarshalsPointer public static List<NSURLVolumeProperty> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<NSURLVolumeProperty> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(NSURLVolumeProperty.valueOf(o.get(i))); } return list; } @MarshalsPointer
public static /*<name>*/NSURLVolumeProperty/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/NSURLVolumeProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/NSURLVolumeProperty/*</name>*/.class.getName()); }
public static NSURLProperty valueOf(NSString value) { NSURLProperty property = null; property = NSURLFileProperty.valueOf(value); if (property != null) return property; property = NSURLFileSystemProperty.valueOf(value); if (property != null) return property; property = NSURLVolumeProperty.valueOf(value); if (property != null) return property; property = NSURLUbiquitousItemProperty.valueOf(value); return property; } /*</methods>*/
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public NSObject getResourceValue(NSURLVolumeProperty property) throws NSErrorException { return getResourceValue(property.value()); } /**
public static NSURLProperty valueOf(NSString value) { NSURLProperty property = null; property = NSURLFileProperty.valueOf(value); if (property != null) return property; property = NSURLFileSystemProperty.valueOf(value); if (property != null) return property; property = NSURLVolumeProperty.valueOf(value); if (property != null) return property; property = NSURLUbiquitousItemProperty.valueOf(value); return property; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public void removeCachedResourceValue(NSURLVolumeProperty property) { removeCachedResourceValue(property.value()); } /**
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public NSObject getResourceValue(NSURLVolumeProperty property) throws NSErrorException { return getResourceValue(property.value()); } /**
public NSURLProperties put(NSURLVolumeProperty property, NSObject value) { data.put(property.value(), value); return this; } public NSURLProperties put(NSURLUbiquitousItemProperty property, NSObject value) {
/** * @since Available in iOS 7.0 and later. */ public void setTemporaryResourceValue(NSURLVolumeProperty property, NSObject value) { setTemporaryResourceValue(value, property.value()); } /**
public static /*<name>*/NSURLVolumeProperty/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/NSURLVolumeProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/NSURLVolumeProperty/*</name>*/.class.getName()); }
public boolean contains(NSURLVolumeProperty property) { return data.containsKey(property.value()); } public boolean contains(NSURLUbiquitousItemProperty property) {
public NSObject get(NSURLVolumeProperty property) { return data.get(property.value()); } public NSObject get(NSURLUbiquitousItemProperty property) {
public boolean contains(NSURLVolumeProperty property) { return data.containsKey(property.value()); } public boolean contains(NSURLUbiquitousItemProperty property) {
public NSObject get(NSURLVolumeProperty property) { return data.get(property.value()); } public NSObject get(NSURLUbiquitousItemProperty property) {