public class NSURL extends NSObject implements NSSecureCoding
Modifier and Type | Method and Description |
---|---|
String |
absoluteString()
Returns the absolute URL of this object.
|
static NSURL |
fileURLWithPath(String path)
Constructs and returns a NSURL object using the specified path.
|
String |
toString() |
static NSURL |
URLWithString(String u)
Constructs and returns a NSURL object from the specified String.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
supportsSecureCoding
public static NSURL URLWithString(String u)
u
- The String that is used for the creation of the url object.public static NSURL fileURLWithPath(String path)
path
- The path that is used for the creation of the url object.public String absoluteString()
Copyright © 2020. All rights reserved.