Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bugvm.apple.foundation;
/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.corefoundation.*;
import com.bugvm.apple.uikit.*;
import com.bugvm.apple.coretext.*;
import com.bugvm.apple.coreanimation.*;
import com.bugvm.apple.coredata.*;
import com.bugvm.apple.coregraphics.*;
import com.bugvm.apple.coremedia.*;
import com.bugvm.apple.security.*;
import com.bugvm.apple.dispatch.*;
/**/
/**/
/**/
/**/@Library("Foundation") @StronglyLinked/**/
@Marshaler(/**/NSURLVolumeProperty/**/.Marshaler.class)
/**/public/**/ class /**/NSURLVolumeProperty/**/
extends /**/NSURLProperty/**/
/**//**/ {
static { Bro.bind(/**/NSURLVolumeProperty/**/.class); }
/**/
public static class Marshaler {
@MarshalsPointer
public static NSURLVolumeProperty toObject(Class 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
public static long toNative(NSURLVolumeProperty o, long flags) {
if (o == null) {
return 0L;
}
return NSObject.Marshaler.toNative(o.value(), flags);
}
}
public static class AsListMarshaler {
@SuppressWarnings("unchecked")
@MarshalsPointer
public static List toObject(Class extends NSObject> cls, long handle, long flags) {
NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags);
if (o == null) {
return null;
}
List list = new ArrayList<>();
for (int i = 0; i < o.size(); i++) {
list.add(NSURLVolumeProperty.valueOf(o.get(i)));
}
return list;
}
@MarshalsPointer
public static long toNative(List l, long flags) {
if (l == null) {
return 0L;
}
NSArray array = new NSMutableArray<>();
for (NSURLVolumeProperty o : l) {
array.add(o.value());
}
return NSObject.Marshaler.toNative(array, flags);
}
}
/**/
/**/
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty LocalizedFormatDescription = new NSURLVolumeProperty("LocalizedFormatDescription");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty TotalCapacity = new NSURLVolumeProperty("TotalCapacity");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty AvailableCapacity = new NSURLVolumeProperty("AvailableCapacity");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty ResourceCount = new NSURLVolumeProperty("ResourceCount");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsPersistentIDs = new NSURLVolumeProperty("SupportsPersistentIDs");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsSymbolicLinks = new NSURLVolumeProperty("SupportsSymbolicLinks");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsHardLinks = new NSURLVolumeProperty("SupportsHardLinks");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsJournaling = new NSURLVolumeProperty("SupportsJournaling");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty IsJournaling = new NSURLVolumeProperty("IsJournaling");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsSparseFiles = new NSURLVolumeProperty("SupportsSparseFiles");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsZeroRuns = new NSURLVolumeProperty("SupportsZeroRuns");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsCaseSensitiveNames = new NSURLVolumeProperty("SupportsCaseSensitiveNames");
/**
* @since Available in iOS 4.0 and later.
*/
public static final NSURLVolumeProperty SupportsCasePreservedNames = new NSURLVolumeProperty("SupportsCasePreservedNames");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty SupportsRootDirectoryDates = new NSURLVolumeProperty("SupportsRootDirectoryDates");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty SupportsVolumeSizes = new NSURLVolumeProperty("SupportsVolumeSizes");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty SupportsRenaming = new NSURLVolumeProperty("SupportsRenaming");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty SupportsAdvisoryFileLocking = new NSURLVolumeProperty("SupportsAdvisoryFileLocking");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty SupportsExtendedSecurity = new NSURLVolumeProperty("SupportsExtendedSecurity");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsBrowsable = new NSURLVolumeProperty("IsBrowsable");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty MaximumFileSize = new NSURLVolumeProperty("MaximumFileSize");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsEjectable = new NSURLVolumeProperty("IsEjectable");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsRemovable = new NSURLVolumeProperty("IsRemovable");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsInternal = new NSURLVolumeProperty("IsInternal");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsAutomounted = new NSURLVolumeProperty("IsAutomounted");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsLocal = new NSURLVolumeProperty("IsLocal");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty IsReadOnly = new NSURLVolumeProperty("IsReadOnly");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty CreationDate = new NSURLVolumeProperty("CreationDate");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty URLForRemounting = new NSURLVolumeProperty("URLForRemounting");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty UUIDString = new NSURLVolumeProperty("UUIDString");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty Name = new NSURLVolumeProperty("Name");
/**
* @since Available in iOS 5.0 and later.
*/
public static final NSURLVolumeProperty LocalizedName = new NSURLVolumeProperty("LocalizedName");
/**/
private static /**/NSURLVolumeProperty/**/[] values = new /**/NSURLVolumeProperty/**/[] {/**/LocalizedFormatDescription, TotalCapacity, AvailableCapacity, ResourceCount, SupportsPersistentIDs, SupportsSymbolicLinks, SupportsHardLinks, SupportsJournaling, IsJournaling, SupportsSparseFiles, SupportsZeroRuns, SupportsCaseSensitiveNames, SupportsCasePreservedNames, SupportsRootDirectoryDates, SupportsVolumeSizes, SupportsRenaming, SupportsAdvisoryFileLocking, SupportsExtendedSecurity, IsBrowsable, MaximumFileSize, IsEjectable, IsRemovable, IsInternal, IsAutomounted, IsLocal, IsReadOnly, CreationDate, URLForRemounting, UUIDString, Name, LocalizedName/**/};
/**/NSURLVolumeProperty/**/ (String getterName) {
super(Values.class, getterName);
}
public static /**/NSURLVolumeProperty/**/ valueOf(/**/NSString/**/ value) {
for (/**/NSURLVolumeProperty/**/ v : values) {
if (v.value().equals(value)) {
return v;
}
}
throw new IllegalArgumentException("No constant with value " + value + " found in "
+ /**/NSURLVolumeProperty/**/.class.getName());
}
/**//**/
/**/@Library("Foundation") @StronglyLinked/**/
public static class Values {
static { Bro.bind(Values.class); }
/**/
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeLocalizedFormatDescriptionKey", optional=true)
public static native NSString LocalizedFormatDescription();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeTotalCapacityKey", optional=true)
public static native NSString TotalCapacity();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeAvailableCapacityKey", optional=true)
public static native NSString AvailableCapacity();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeResourceCountKey", optional=true)
public static native NSString ResourceCount();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsPersistentIDsKey", optional=true)
public static native NSString SupportsPersistentIDs();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsSymbolicLinksKey", optional=true)
public static native NSString SupportsSymbolicLinks();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsHardLinksKey", optional=true)
public static native NSString SupportsHardLinks();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsJournalingKey", optional=true)
public static native NSString SupportsJournaling();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsJournalingKey", optional=true)
public static native NSString IsJournaling();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsSparseFilesKey", optional=true)
public static native NSString SupportsSparseFiles();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsZeroRunsKey", optional=true)
public static native NSString SupportsZeroRuns();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsCaseSensitiveNamesKey", optional=true)
public static native NSString SupportsCaseSensitiveNames();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsCasePreservedNamesKey", optional=true)
public static native NSString SupportsCasePreservedNames();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsRootDirectoryDatesKey", optional=true)
public static native NSString SupportsRootDirectoryDates();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsVolumeSizesKey", optional=true)
public static native NSString SupportsVolumeSizes();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsRenamingKey", optional=true)
public static native NSString SupportsRenaming();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsAdvisoryFileLockingKey", optional=true)
public static native NSString SupportsAdvisoryFileLocking();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeSupportsExtendedSecurityKey", optional=true)
public static native NSString SupportsExtendedSecurity();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsBrowsableKey", optional=true)
public static native NSString IsBrowsable();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeMaximumFileSizeKey", optional=true)
public static native NSString MaximumFileSize();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsEjectableKey", optional=true)
public static native NSString IsEjectable();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsRemovableKey", optional=true)
public static native NSString IsRemovable();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsInternalKey", optional=true)
public static native NSString IsInternal();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsAutomountedKey", optional=true)
public static native NSString IsAutomounted();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsLocalKey", optional=true)
public static native NSString IsLocal();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeIsReadOnlyKey", optional=true)
public static native NSString IsReadOnly();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeCreationDateKey", optional=true)
public static native NSString CreationDate();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeURLForRemountingKey", optional=true)
public static native NSString URLForRemounting();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeUUIDStringKey", optional=true)
public static native NSString UUIDString();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeNameKey", optional=true)
public static native NSString Name();
/**
* @since Available in iOS 5.0 and later.
*/
@GlobalValue(symbol="NSURLVolumeLocalizedNameKey", optional=true)
public static native NSString LocalizedName();
/**/
}
}