Path

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL

 

constructor  protected Cooper, Island

 

constructor

 

Path()

 

init()

 

Path()

ChangeExtension (not nullable String, String): not nullable String  virtual Cooper, Toffee

 

static func ChangeExtension(_ aFileName: String, _ NewExtension: String) -> String

 

static String! ChangeExtension(String! aFileName, String NewExtension)

Parameters:

  • aFileName:
  • NewExtension:

ChangeExtension (not nullable String, nullable String): not nullable String .NET, .NET Standard 2.0, Island, ToffeeV2

 

class method ChangeExtension(aFileName: not nullable String; NewExtension: nullable String): not nullable String

 

static String! ChangeExtension(String! aFileName, String? NewExtension)

 

static func ChangeExtension(_ aFileName: String, _ NewExtension: String?) -> String

Parameters:

  • aFileName:
  • NewExtension:

Combine (String, array of String): String  virtual Cooper, Toffee

 

static func Combine(_ aBasePath: String, _ aPaths: String...) -> String

 

static String Combine(String aBasePath, String[]... aPaths)

Parameters:

  • aBasePath:
  • aPaths:

Combine (nullable String, array of String): nullable String .NET, .NET Standard 2.0, Island, ToffeeV2

 

class method Combine(aBasePath: nullable String; params aPaths: array of String): nullable String

 

static String? Combine(String? aBasePath, params String[] aPaths)

 

static func Combine(_ aBasePath: String?, _ aPaths: String...) -> String?

Parameters:

  • aBasePath:
  • aPaths:

CombineUnixPath

 

class method CombineUnixPath(aBasePath: not nullable String; params aPaths: array of String): not nullable String

 

static String! CombineUnixPath(String! aBasePath, params String[] aPaths)

 

static func CombineUnixPath(_ aBasePath: String, _ aPaths: String...) -> String

 

static String! CombineUnixPath(String! aBasePath, String[]... aPaths)

Parameters:

  • aBasePath:
  • aPaths:

CombineWindowsPath

 

class method CombineWindowsPath(aBasePath: not nullable String; params aPaths: array of String): not nullable String

 

static String! CombineWindowsPath(String! aBasePath, params String[] aPaths)

 

static func CombineWindowsPath(_ aBasePath: String, _ aPaths: String...) -> String

 

static String! CombineWindowsPath(String! aBasePath, String[]... aPaths)

Parameters:

  • aBasePath:
  • aPaths:

DirectorySeparatorChar

 

class property DirectorySeparatorChar: Char read;

 

class Char DirectorySeparatorChar { get; }

 

static var DirectorySeparatorChar: Char { get{} }

 

class Char DirectorySeparatorChar { __get; }

ExpandTildeInPath Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2

 

class method ExpandTildeInPath(aPath: not nullable String): not nullable String

 

static String! ExpandTildeInPath(String! aPath)

 

static func ExpandTildeInPath(_ aPath: String) -> String

Parameters:

  • aPath:

GetExtension

 

class method GetExtension(aFileName: not nullable String): not nullable String

 

static String! GetExtension(String! aFileName)

 

static func GetExtension(_ aFileName: String) -> String

 

static String! GetExtension(String! aFileName)

Parameters:

  • aFileName:

GetFileName

 

class method GetFileName(aFileName: not nullable String): not nullable String

 

static String! GetFileName(String! aFileName)

 

static func GetFileName(_ aFileName: String) -> String

 

static String! GetFileName(String! aFileName)

Parameters:

  • aFileName:

GetFileNameWithoutExtension

 

class method GetFileNameWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetFileNameWithoutExtension(String! aFileName)

 

static func GetFileNameWithoutExtension(_ aFileName: String) -> String

 

static String! GetFileNameWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetFullPath .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method GetFullPath(RelativePath: not nullable String): not nullable String

 

static String! GetFullPath(String! RelativePath)

 

static func GetFullPath(_ RelativePath: String) -> String

 

static String! GetFullPath(String! RelativePath)

Parameters:

  • RelativePath:

GetNetworkServerName

 

class method GetNetworkServerName(aFileName: not nullable String): nullable String

 

static String? GetNetworkServerName(String! aFileName)

 

// Toffee
static func GetNetworkServerName(_ aFileName: String) -> String
// ToffeeV2
static func GetNetworkServerName(_ aFileName: String) -> String?

 

static String GetNetworkServerName(String! aFileName)

Parameters:

  • aFileName:

GetParentDirectory

 

class method GetParentDirectory(aFileName: not nullable String): nullable String

 

static String? GetParentDirectory(String! aFileName)

 

// Toffee
static func GetParentDirectory(_ aFileName: String) -> String
// ToffeeV2
static func GetParentDirectory(_ aFileName: String) -> String?

 

static String GetParentDirectory(String! aFileName)

Parameters:

  • aFileName:

GetPath

 

class method GetPath(aFullPath: not nullable String) RelativeToPath(aBasePath: not nullable String): nullable String

 

static String? GetPath(String! aFullPath) RelativeToPath(String! aBasePath)

 

// Toffee
static func GetPath(_ aFullPath: String, RelativeToPath aBasePath: String) -> String
// ToffeeV2
static func GetPath(_ aFullPath: String, RelativeToPath aBasePath: String) -> String?

 

static String GetPath(String! aFullPath) RelativeToPath(String! aBasePath)

Parameters:

  • aFullPath:
  • aBasePath:

GetPathWithoutExtension

 

class method GetPathWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetPathWithoutExtension(String! aFileName)

 

static func GetPathWithoutExtension(_ aFileName: String) -> String

 

static String! GetPathWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetUnixFileName

 

class method GetUnixFileName(aFileName: not nullable String): not nullable String

 

static String! GetUnixFileName(String! aFileName)

 

static func GetUnixFileName(_ aFileName: String) -> String

 

static String! GetUnixFileName(String! aFileName)

Parameters:

  • aFileName:

GetUnixFileNameWithoutExtension

 

class method GetUnixFileNameWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetUnixFileNameWithoutExtension(String! aFileName)

 

static func GetUnixFileNameWithoutExtension(_ aFileName: String) -> String

 

static String! GetUnixFileNameWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetUnixParentDirectory

 

class method GetUnixParentDirectory(aFileName: not nullable String): nullable String

 

static String? GetUnixParentDirectory(String! aFileName)

 

// Toffee
static func GetUnixParentDirectory(_ aFileName: String) -> String
// ToffeeV2
static func GetUnixParentDirectory(_ aFileName: String) -> String?

 

static String GetUnixParentDirectory(String! aFileName)

Parameters:

  • aFileName:

GetWindowsFileName

 

class method GetWindowsFileName(aFileName: not nullable String): not nullable String

 

static String! GetWindowsFileName(String! aFileName)

 

static func GetWindowsFileName(_ aFileName: String) -> String

 

static String! GetWindowsFileName(String! aFileName)

Parameters:

  • aFileName:

GetWindowsFileNameWithoutExtension

 

class method GetWindowsFileNameWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetWindowsFileNameWithoutExtension(String! aFileName)

 

static func GetWindowsFileNameWithoutExtension(_ aFileName: String) -> String

 

static String! GetWindowsFileNameWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetWindowsParentDirectory

 

class method GetWindowsParentDirectory(aFileName: not nullable String): nullable String

 

static String? GetWindowsParentDirectory(String! aFileName)

 

// Toffee
static func GetWindowsParentDirectory(_ aFileName: String) -> String
// ToffeeV2
static func GetWindowsParentDirectory(_ aFileName: String) -> String?

 

static String GetWindowsParentDirectory(String! aFileName)

Parameters:

  • aFileName:

PathListSeparatorChar

 

class property PathListSeparatorChar: Char read;

 

class Char PathListSeparatorChar { get; }

 

static var PathListSeparatorChar: Char { get{} }

 

class Char PathListSeparatorChar { __get; }

 

DirectorySeparatorChar

 

class property DirectorySeparatorChar: Char read;

 

class Char DirectorySeparatorChar { get; }

 

static var DirectorySeparatorChar: Char { get{} }

 

class Char DirectorySeparatorChar { __get; }

PathListSeparatorChar

 

class property PathListSeparatorChar: Char read;

 

class Char PathListSeparatorChar { get; }

 

static var PathListSeparatorChar: Char { get{} }

 

class Char PathListSeparatorChar { __get; }

 

ChangeExtension (not nullable String, String): not nullable String  virtual Cooper, Toffee

 

static func ChangeExtension(_ aFileName: String, _ NewExtension: String) -> String

 

static String! ChangeExtension(String! aFileName, String NewExtension)

Parameters:

  • aFileName:
  • NewExtension:

ChangeExtension (not nullable String, nullable String): not nullable String .NET, .NET Standard 2.0, Island, ToffeeV2

 

class method ChangeExtension(aFileName: not nullable String; NewExtension: nullable String): not nullable String

 

static String! ChangeExtension(String! aFileName, String? NewExtension)

 

static func ChangeExtension(_ aFileName: String, _ NewExtension: String?) -> String

Parameters:

  • aFileName:
  • NewExtension:

Combine (String, array of String): String  virtual Cooper, Toffee

 

static func Combine(_ aBasePath: String, _ aPaths: String...) -> String

 

static String Combine(String aBasePath, String[]... aPaths)

Parameters:

  • aBasePath:
  • aPaths:

Combine (nullable String, array of String): nullable String .NET, .NET Standard 2.0, Island, ToffeeV2

 

class method Combine(aBasePath: nullable String; params aPaths: array of String): nullable String

 

static String? Combine(String? aBasePath, params String[] aPaths)

 

static func Combine(_ aBasePath: String?, _ aPaths: String...) -> String?

Parameters:

  • aBasePath:
  • aPaths:

CombineUnixPath

 

class method CombineUnixPath(aBasePath: not nullable String; params aPaths: array of String): not nullable String

 

static String! CombineUnixPath(String! aBasePath, params String[] aPaths)

 

static func CombineUnixPath(_ aBasePath: String, _ aPaths: String...) -> String

 

static String! CombineUnixPath(String! aBasePath, String[]... aPaths)

Parameters:

  • aBasePath:
  • aPaths:

CombineWindowsPath

 

class method CombineWindowsPath(aBasePath: not nullable String; params aPaths: array of String): not nullable String

 

static String! CombineWindowsPath(String! aBasePath, params String[] aPaths)

 

static func CombineWindowsPath(_ aBasePath: String, _ aPaths: String...) -> String

 

static String! CombineWindowsPath(String! aBasePath, String[]... aPaths)

Parameters:

  • aBasePath:
  • aPaths:

ExpandTildeInPath Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2

 

class method ExpandTildeInPath(aPath: not nullable String): not nullable String

 

static String! ExpandTildeInPath(String! aPath)

 

static func ExpandTildeInPath(_ aPath: String) -> String

Parameters:

  • aPath:

GetExtension

 

class method GetExtension(aFileName: not nullable String): not nullable String

 

static String! GetExtension(String! aFileName)

 

static func GetExtension(_ aFileName: String) -> String

 

static String! GetExtension(String! aFileName)

Parameters:

  • aFileName:

GetFileName

 

class method GetFileName(aFileName: not nullable String): not nullable String

 

static String! GetFileName(String! aFileName)

 

static func GetFileName(_ aFileName: String) -> String

 

static String! GetFileName(String! aFileName)

Parameters:

  • aFileName:

GetFileNameWithoutExtension

 

class method GetFileNameWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetFileNameWithoutExtension(String! aFileName)

 

static func GetFileNameWithoutExtension(_ aFileName: String) -> String

 

static String! GetFileNameWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetFullPath .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

class method GetFullPath(RelativePath: not nullable String): not nullable String

 

static String! GetFullPath(String! RelativePath)

 

static func GetFullPath(_ RelativePath: String) -> String

 

static String! GetFullPath(String! RelativePath)

Parameters:

  • RelativePath:

GetNetworkServerName

 

class method GetNetworkServerName(aFileName: not nullable String): nullable String

 

static String? GetNetworkServerName(String! aFileName)

 

// Toffee
static func GetNetworkServerName(_ aFileName: String) -> String
// ToffeeV2
static func GetNetworkServerName(_ aFileName: String) -> String?

 

static String GetNetworkServerName(String! aFileName)

Parameters:

  • aFileName:

GetParentDirectory

 

class method GetParentDirectory(aFileName: not nullable String): nullable String

 

static String? GetParentDirectory(String! aFileName)

 

// Toffee
static func GetParentDirectory(_ aFileName: String) -> String
// ToffeeV2
static func GetParentDirectory(_ aFileName: String) -> String?

 

static String GetParentDirectory(String! aFileName)

Parameters:

  • aFileName:

GetPath

 

class method GetPath(aFullPath: not nullable String) RelativeToPath(aBasePath: not nullable String): nullable String

 

static String? GetPath(String! aFullPath) RelativeToPath(String! aBasePath)

 

// Toffee
static func GetPath(_ aFullPath: String, RelativeToPath aBasePath: String) -> String
// ToffeeV2
static func GetPath(_ aFullPath: String, RelativeToPath aBasePath: String) -> String?

 

static String GetPath(String! aFullPath) RelativeToPath(String! aBasePath)

Parameters:

  • aFullPath:
  • aBasePath:

GetPathWithoutExtension

 

class method GetPathWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetPathWithoutExtension(String! aFileName)

 

static func GetPathWithoutExtension(_ aFileName: String) -> String

 

static String! GetPathWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetUnixFileName

 

class method GetUnixFileName(aFileName: not nullable String): not nullable String

 

static String! GetUnixFileName(String! aFileName)

 

static func GetUnixFileName(_ aFileName: String) -> String

 

static String! GetUnixFileName(String! aFileName)

Parameters:

  • aFileName:

GetUnixFileNameWithoutExtension

 

class method GetUnixFileNameWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetUnixFileNameWithoutExtension(String! aFileName)

 

static func GetUnixFileNameWithoutExtension(_ aFileName: String) -> String

 

static String! GetUnixFileNameWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetUnixParentDirectory

 

class method GetUnixParentDirectory(aFileName: not nullable String): nullable String

 

static String? GetUnixParentDirectory(String! aFileName)

 

// Toffee
static func GetUnixParentDirectory(_ aFileName: String) -> String
// ToffeeV2
static func GetUnixParentDirectory(_ aFileName: String) -> String?

 

static String GetUnixParentDirectory(String! aFileName)

Parameters:

  • aFileName:

GetWindowsFileName

 

class method GetWindowsFileName(aFileName: not nullable String): not nullable String

 

static String! GetWindowsFileName(String! aFileName)

 

static func GetWindowsFileName(_ aFileName: String) -> String

 

static String! GetWindowsFileName(String! aFileName)

Parameters:

  • aFileName:

GetWindowsFileNameWithoutExtension

 

class method GetWindowsFileNameWithoutExtension(aFileName: not nullable String): not nullable String

 

static String! GetWindowsFileNameWithoutExtension(String! aFileName)

 

static func GetWindowsFileNameWithoutExtension(_ aFileName: String) -> String

 

static String! GetWindowsFileNameWithoutExtension(String! aFileName)

Parameters:

  • aFileName:

GetWindowsParentDirectory

 

class method GetWindowsParentDirectory(aFileName: not nullable String): nullable String

 

static String? GetWindowsParentDirectory(String! aFileName)

 

// Toffee
static func GetWindowsParentDirectory(_ aFileName: String) -> String
// ToffeeV2
static func GetWindowsParentDirectory(_ aFileName: String) -> String?

 

static String GetWindowsParentDirectory(String! aFileName)

Parameters:

  • aFileName:

 

constructor  protected Cooper, Island

 

constructor

 

Path()

 

init()

 

Path()