Package org.robovm.apple.foundation
Class NSFileVersion
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSFileVersion
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSFileVersion extends NSObject
- Since:
- Available in iOS 5.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSFileVersion.NSFileVersionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSFileVersion()
protected
NSFileVersion(NSObject.Handle h, long handle)
protected
NSFileVersion(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSFileVersion
public NSFileVersion()
-
NSFileVersion
protected NSFileVersion(NSObject.Handle h, long handle)
-
NSFileVersion
protected NSFileVersion(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getURL
public NSURL getURL()
-
getLocalizedName
public java.lang.String getLocalizedName()
-
getLocalizedNameOfSavingComputer
public java.lang.String getLocalizedNameOfSavingComputer()
-
getOriginatorNameComponents
public NSPersonNameComponents getOriginatorNameComponents()
- Since:
- Available in iOS 10.0 and later.
-
getModificationDate
public NSDate getModificationDate()
-
getPersistentIdentifier
public NSCoding getPersistentIdentifier()
-
isConflict
public boolean isConflict()
-
isResolved
public boolean isResolved()
-
setResolved
public void setResolved(boolean v)
-
hasLocalContents
public boolean hasLocalContents()
- Since:
- Available in iOS 8.0 and later.
-
hasThumbnail
public boolean hasThumbnail()
- Since:
- Available in iOS 8.0 and later.
-
replaceItemAtURL
public NSURL replaceItemAtURL(NSURL url, NSFileVersionReplacingOptions options) throws NSErrorException
- Throws:
NSErrorException
-
remove
public boolean remove() throws NSErrorException
- Throws:
NSErrorException
-
getCurrentItemVersionAtURL
public static NSFileVersion getCurrentItemVersionAtURL(NSURL url)
-
getOtherItemVersionsAtURL
public static NSArray<NSFileVersion> getOtherItemVersionsAtURL(NSURL url)
-
getUnresolvedConflictItemVersionsAtURL
public static NSArray<NSFileVersion> getUnresolvedConflictItemVersionsAtURL(NSURL url)
-
getNonlocalItemVersionsAtURL
public static void getNonlocalItemVersionsAtURL(NSURL url, org.robovm.objc.block.VoidBlock2<NSArray<NSFileVersion>,NSError> completionHandler)
- Since:
- Available in iOS 8.0 and later.
-
getItemVersionAtURL
public static NSFileVersion getItemVersionAtURL(NSURL url, NSObject persistentIdentifier)
-
removeOtherItemVersionsAtURL
public static boolean removeOtherItemVersionsAtURL(NSURL url) throws NSErrorException
- Throws:
NSErrorException
-
-