Instance Property インスタンスプロパティ

stringByResolvingSymlinksInPath

A new string made from the receiver by resolving all symbolic links and standardizing path. 全てのシンボリックリンクを解決することそしてパスを標準化する事によってレシーバから作られる新しい文字列。

Declaration 宣言

@property(readonly, copy) NSString *stringByResolvingSymlinksInPath;

Discussion 議論

A new string made by resolving all symbolic links, then removing extraneous path components. For absolute paths, all symbolic links are guaranteed to be removed. For relative paths, symbolic links that can’t be resolved are left unresolved in the returned string. 全てのシンボリックリンクを解決すること、それから無関係のパス構成要素を取り除くことによって作られる新しい文字列。絶対パスに対して、全てのシンボリックリンクは取り除かれることを保証されます。相対パスに対して、解決されることができないシンボリックリンクは、返される文字列において解決されないまま残されます。

Returns self if an error occurs. selfを、エラーが発生するならば返します。

Note that this method only works with file paths (not, for example, string representations of URLs). このメソッドはファイルパスでのみ働くことに注意してください(例えば、URLの文字列表現ではなく)。

See Also 参照

Working with Paths パスを扱う