Folder

Overview

Folder related utilities.

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Mapped to:
    • System.String  .NET, .NET Standard 2.0
    • java.lang.String  Cooper
    • RemObjects.Elements.System.String  Island
    • Foundation.NSString  Toffee, ToffeeV2

 

constructor

Creates a new instance for a given folder path.

 

constructor(aPath: not nullable String)

 

Folder(String! aPath)

 

init(_ aPath: String)

 

Folder(String! aPath)

Parameters:

  • aPath:

CopyContentsTo .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

Copy the content of this folder, optionally recursively.

 

method CopyContentsTo(aNewFolder: Folder; aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

func CopyContentsTo(_ aNewFolder: Folder, _ aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) .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

Creates a new folder.

 

method Create(FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

func Create(_ FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

Parameters:

  • FailIfExists:

Create (Folder, Boolean): Folder .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

Creates a new folder.

 

class method Create(aFolderName: Folder; FailIfExists: Boolean): Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

 

static func Create(_ aFolderName: Folder, _ FailIfExists: Boolean) -> Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

Parameters:

  • aFolderName:
  • FailIfExists:

CreateFile .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

Create a file in thsi folder.

 

method CreateFile(FileName: String; FailIfExists: Boolean): File

 

File CreateFile(String FileName, Boolean FailIfExists)

 

func CreateFile(_ FileName: String, _ FailIfExists: Boolean) -> File

 

File CreateFile(String FileName, Boolean FailIfExists)

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder .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

Create a subdirectory in this folder.

 

method CreateSubfolder(SubfolderName: String; FailIfExists: Boolean): Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

func CreateSubfolder(_ SubfolderName: String, _ FailIfExists: Boolean) -> Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

Parameters:

  • SubfolderName:
  • FailIfExists:

DateCreated .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

Returns the creation date.

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

DateTime DateCreated { __get; }

DateModified .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

Returns the last modification date.

 

property DateModified: DateTime read write;

 

DateTime DateModified { get; set; }

 

var DateModified: DateTime { get{} set{} }

 

DateTime DateModified { __get; __set; }

Delete .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

Delete a folder.

 

method Delete

 

void Delete()

 

func Delete()

 

void Delete()

Delete (Folder) .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

Delete a folder.

 

class method Delete(aFolderName: Folder)

 

static void Delete(Folder aFolderName)

 

static func Delete(_ aFolderName: Folder)

 

static void Delete(Folder aFolderName)

Parameters:

  • aFolderName:

Exists .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

Check if the folder exists.

 

method Exists: Boolean

 

Boolean Exists()

 

func Exists() -> Boolean

 

Boolean Exists()

Exists (Folder): Boolean  virtual Cooper, Toffee

Check if the folder exists.

 

static func Exists(_ aFolderName: Folder) -> Boolean

 

static Boolean Exists(Folder aFolderName)

Parameters:

  • aFolderName:

Exists (nullable Folder): Boolean .NET, .NET Standard 2.0, 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, ToffeeV2

Check if the folder exists.

 

class method Exists(aFolderName: nullable Folder): Boolean

 

static Boolean Exists(Folder? aFolderName)

 

static func Exists(_ aFolderName: Folder?) -> Boolean

Parameters:

  • aFolderName:

Extension

Returns the extension in the filename of this folder.

 

property Extension: not nullable String read;

 

String! Extension { get; }

 

var Extension: String { get{} }

 

String! Extension { __get; }

FullPath

Returns the full apth of this folder.

 

property FullPath: not nullable String read;

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

String! FullPath { __get; }

GetFile .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

Get a file inside this folder.

 

method GetFile(FileName: String): File

 

File GetFile(String FileName)

 

func GetFile(_ FileName: String) -> File

 

File GetFile(String FileName)

Parameters:

  • FileName:

GetFiles .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

Returrns a list of files in a given folder.

 

method GetFiles: not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles()

 

func GetFiles() -> ImmutableList<String>

 

ImmutableList<String>! GetFiles()

GetFiles (Boolean): not nullable ImmutableList<String> .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

Returrns a list of files in a given folder.

 

method GetFiles(aRecursive: Boolean): not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

 

func GetFiles(_ aRecursive: Boolean) -> ImmutableList<String>

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

Parameters:

  • aRecursive:

GetFiles (Folder, Boolean): not nullable ImmutableList<String> .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

Returrns a list of files in a given folder.

 

class method GetFiles(aFolderName: Folder; aRecursive: Boolean): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFiles(Folder aFolderName, Boolean aRecursive)

 

static func GetFiles(_ aFolderName: Folder, _ aRecursive: Boolean) -> ImmutableList<String>

 

static ImmutableList<String>! GetFiles(Folder aFolderName, Boolean aRecursive)

Parameters:

  • aFolderName:
  • aRecursive:

GetFilesAndFolders .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

Returrns a list of files and folders in a given folder.

 

class method GetFilesAndFolders(aFolderName: Folder): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFilesAndFolders(Folder aFolderName)

 

static func GetFilesAndFolders(_ aFolderName: Folder) -> ImmutableList<String>

 

static ImmutableList<String>! GetFilesAndFolders(Folder aFolderName)

Parameters:

  • aFolderName:

GetSubfolders .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

Returrns a list of folders in a given folder.

 

method GetSubfolders: not nullable List<String>

 

List<String>! GetSubfolders()

 

func GetSubfolders() -> List<String>

 

List<String>! GetSubfolders()

GetSubfolders (Folder): not nullable List<String> .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

Returrns a list of folders in a given folder.

 

class method GetSubfolders(aFolderName: Folder): not nullable List<String>

 

static List<String>! GetSubfolders(Folder aFolderName)

 

static func GetSubfolders(_ aFolderName: Folder) -> List<String>

 

static List<String>! GetSubfolders(Folder aFolderName)

Parameters:

  • aFolderName:

Name

Returns the name of this folder without path.

 

property Name: not nullable String read;

 

String! Name { get; }

 

var Name: String { get{} }

 

String! Name { __get; }

Rename .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

Rename this folder.

 

method Rename(NewName: String): Folder

 

Folder Rename(String NewName)

 

func Rename(_ NewName: String) -> Folder

 

Folder Rename(String NewName)

Parameters:

  • NewName:

Separator

Returns the separator for path elements in this folder.

 

class property Separator: Char read;

 

class Char Separator { get; }

 

static var Separator: Char { get{} }

 

class Char Separator { __get; }

 

DateCreated .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

Returns the creation date.

 

property DateCreated: DateTime read;

 

DateTime DateCreated { get; }

 

var DateCreated: DateTime { get{} }

 

DateTime DateCreated { __get; }

DateModified .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

Returns the last modification date.

 

property DateModified: DateTime read write;

 

DateTime DateModified { get; set; }

 

var DateModified: DateTime { get{} set{} }

 

DateTime DateModified { __get; __set; }

Extension

Returns the extension in the filename of this folder.

 

property Extension: not nullable String read;

 

String! Extension { get; }

 

var Extension: String { get{} }

 

String! Extension { __get; }

FullPath

Returns the full apth of this folder.

 

property FullPath: not nullable String read;

 

String! FullPath { get; }

 

var FullPath: String { get{} }

 

String! FullPath { __get; }

Name

Returns the name of this folder without path.

 

property Name: not nullable String read;

 

String! Name { get; }

 

var Name: String { get{} }

 

String! Name { __get; }

Separator

Returns the separator for path elements in this folder.

 

class property Separator: Char read;

 

class Char Separator { get; }

 

static var Separator: Char { get{} }

 

class Char Separator { __get; }

 

Create (Folder, Boolean): Folder .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

Creates a new folder.

 

class method Create(aFolderName: Folder; FailIfExists: Boolean): Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

 

static func Create(_ aFolderName: Folder, _ FailIfExists: Boolean) -> Folder

 

static Folder Create(Folder aFolderName, Boolean FailIfExists)

Parameters:

  • aFolderName:
  • FailIfExists:

Delete (Folder) .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

Delete a folder.

 

class method Delete(aFolderName: Folder)

 

static void Delete(Folder aFolderName)

 

static func Delete(_ aFolderName: Folder)

 

static void Delete(Folder aFolderName)

Parameters:

  • aFolderName:

Exists (Folder): Boolean  virtual Cooper, Toffee

Check if the folder exists.

 

static func Exists(_ aFolderName: Folder) -> Boolean

 

static Boolean Exists(Folder aFolderName)

Parameters:

  • aFolderName:

Exists (nullable Folder): Boolean .NET, .NET Standard 2.0, 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, ToffeeV2

Check if the folder exists.

 

class method Exists(aFolderName: nullable Folder): Boolean

 

static Boolean Exists(Folder? aFolderName)

 

static func Exists(_ aFolderName: Folder?) -> Boolean

Parameters:

  • aFolderName:

GetFiles (Folder, Boolean): not nullable ImmutableList<String> .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

Returrns a list of files in a given folder.

 

class method GetFiles(aFolderName: Folder; aRecursive: Boolean): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFiles(Folder aFolderName, Boolean aRecursive)

 

static func GetFiles(_ aFolderName: Folder, _ aRecursive: Boolean) -> ImmutableList<String>

 

static ImmutableList<String>! GetFiles(Folder aFolderName, Boolean aRecursive)

Parameters:

  • aFolderName:
  • aRecursive:

GetFilesAndFolders .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

Returrns a list of files and folders in a given folder.

 

class method GetFilesAndFolders(aFolderName: Folder): not nullable ImmutableList<String>

 

static ImmutableList<String>! GetFilesAndFolders(Folder aFolderName)

 

static func GetFilesAndFolders(_ aFolderName: Folder) -> ImmutableList<String>

 

static ImmutableList<String>! GetFilesAndFolders(Folder aFolderName)

Parameters:

  • aFolderName:

GetSubfolders (Folder): not nullable List<String> .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

Returrns a list of folders in a given folder.

 

class method GetSubfolders(aFolderName: Folder): not nullable List<String>

 

static List<String>! GetSubfolders(Folder aFolderName)

 

static func GetSubfolders(_ aFolderName: Folder) -> List<String>

 

static List<String>! GetSubfolders(Folder aFolderName)

Parameters:

  • aFolderName:

 

constructor

Creates a new instance for a given folder path.

 

constructor(aPath: not nullable String)

 

Folder(String! aPath)

 

init(_ aPath: String)

 

Folder(String! aPath)

Parameters:

  • aPath:

CopyContentsTo .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

Copy the content of this folder, optionally recursively.

 

method CopyContentsTo(aNewFolder: Folder; aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

 

func CopyContentsTo(_ aNewFolder: Folder, _ aRecursive: Boolean)

 

void CopyContentsTo(Folder aNewFolder, Boolean aRecursive)

Parameters:

  • aNewFolder:
  • aRecursive:

Create (Boolean) .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

Creates a new folder.

 

method Create(FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

 

func Create(_ FailIfExists: Boolean)

 

void Create(Boolean FailIfExists)

Parameters:

  • FailIfExists:

CreateFile .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

Create a file in thsi folder.

 

method CreateFile(FileName: String; FailIfExists: Boolean): File

 

File CreateFile(String FileName, Boolean FailIfExists)

 

func CreateFile(_ FileName: String, _ FailIfExists: Boolean) -> File

 

File CreateFile(String FileName, Boolean FailIfExists)

Parameters:

  • FileName:
  • FailIfExists:

CreateSubfolder .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

Create a subdirectory in this folder.

 

method CreateSubfolder(SubfolderName: String; FailIfExists: Boolean): Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

 

func CreateSubfolder(_ SubfolderName: String, _ FailIfExists: Boolean) -> Folder

 

Folder CreateSubfolder(String SubfolderName, Boolean FailIfExists)

Parameters:

  • SubfolderName:
  • FailIfExists:

Delete .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

Delete a folder.

 

method Delete

 

void Delete()

 

func Delete()

 

void Delete()

Exists .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

Check if the folder exists.

 

method Exists: Boolean

 

Boolean Exists()

 

func Exists() -> Boolean

 

Boolean Exists()

GetFile .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

Get a file inside this folder.

 

method GetFile(FileName: String): File

 

File GetFile(String FileName)

 

func GetFile(_ FileName: String) -> File

 

File GetFile(String FileName)

Parameters:

  • FileName:

GetFiles .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

Returrns a list of files in a given folder.

 

method GetFiles: not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles()

 

func GetFiles() -> ImmutableList<String>

 

ImmutableList<String>! GetFiles()

GetFiles (Boolean): not nullable ImmutableList<String> .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

Returrns a list of files in a given folder.

 

method GetFiles(aRecursive: Boolean): not nullable ImmutableList<String>

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

 

func GetFiles(_ aRecursive: Boolean) -> ImmutableList<String>

 

ImmutableList<String>! GetFiles(Boolean aRecursive)

Parameters:

  • aRecursive:

GetSubfolders .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

Returrns a list of folders in a given folder.

 

method GetSubfolders: not nullable List<String>

 

List<String>! GetSubfolders()

 

func GetSubfolders() -> List<String>

 

List<String>! GetSubfolders()

Rename .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

Rename this folder.

 

method Rename(NewName: String): Folder

 

Folder Rename(String NewName)

 

func Rename(_ NewName: String) -> Folder

 

Folder Rename(String NewName)

Parameters:

  • NewName: