Folder
Overview
Folder related utilities.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
- Mapped to: String
constructor
Creates a new instance for a given folder path.
constructor(aPath: not nullable String)
Folder(String! aPath)
init(_ aPath: String)
Folder(String aPath)
Sub New(aPath As String)
Parameters:
- aPath:
CopyContentsTo (Folder, Boolean) Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Copy the content of this folder, optionally recursively.
Parameters:
- aNewFolder:
- aRecursive:
Parameters:
- aNewFolder:
- aRecursive:
Create (Boolean) Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Sub Create(FailIfExists As Boolean)
Parameters:
- FailIfExists:
Create (Boolean) .NET, .NET Core 6.0, .NET Standard 2.0
method Create(FailIfExists: Boolean)
void Create(Boolean FailIfExists)
func Create(_ FailIfExists: Boolean)
Sub Create(FailIfExists As Boolean)
Parameters:
- FailIfExists:
Create (Folder, Boolean): Folder .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Creates a new folder.
Parameters:
- aFolderName:
- FailIfExists:
CreateFile (String, Boolean): File Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Create a file in thsi folder.
Parameters:
- FileName:
- FailIfExists:
Parameters:
- FileName:
- FailIfExists:
CreateSubfolder (String, Boolean): Folder Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Create a subdirectory in this folder.
Parameters:
- SubfolderName:
- FailIfExists:
Parameters:
- SubfolderName:
- FailIfExists:
DateCreated Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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; }
ReadOnly Property DateCreated() As DateTime
DateCreated .NET, .NET Core 6.0, .NET Standard 2.0
property DateCreated: DateTime read;
DateTime DateCreated { get; }
var DateCreated: DateTime { get{} }
ReadOnly Property DateCreated() As DateTime
DateModified Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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; }
Property DateModified() As DateTime
DateModified .NET, .NET Core 6.0, .NET Standard 2.0
property DateModified: DateTime read write;
DateTime DateModified { get; set; }
var DateModified: DateTime { get{} set{} }
Property DateModified() As DateTime
Delete Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Delete a folder.
method Delete
void Delete()
func Delete()
void Delete()
Sub Delete()
Delete (Folder) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Shared Sub Delete(aFolderName As Folder)
Parameters:
- aFolderName:
Exists Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Check if the folder exists.
method Exists: Boolean
Boolean Exists()
func Exists() -> Boolean
Boolean Exists()
Function Exists() As Boolean
Exists (nullable Folder): Boolean .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Check if the folder exists.
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; }
ReadOnly Property Extension() As String
FirstMatchingSubfolder (String, Iterable<String>): String Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String
String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)
// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?
Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?
Parameters:
- aFolder:
- aSubFolderOptions:
FirstMatchingSubfolder (String, Iterable<String>, Func<String, String, String>): String Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>): nullable String
String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String> aBuildPath)
// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>, _ aBuildPath: (String, String) -> String) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>, _ aBuildPath: (String, String) -> String) -> String?
String FirstMatchingSubfolder(String aFolder, Iterable<String> aSubFolderOptions, Func3<String, String, String> aBuildPath)
Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>, aBuildPath As Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>) As String?
Parameters:
- aFolder:
- aSubFolderOptions:
- aBuildPath:
FirstMatchingSubfolder (String, IEnumerable<String>): nullable String .NET, .NET Core 6.0, .NET Standard 2.0
method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String
String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?
Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?
Parameters:
- aFolder:
- aSubFolderOptions:
FirstMatchingSubfolder (String, IEnumerable<String>, Func<String, String, String>): nullable String .NET, .NET Core 6.0, .NET Standard 2.0
method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<String, String, String>): nullable String
String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<String, String, String> aBuildPath)
Parameters:
- aFolder:
- aSubFolderOptions:
- aBuildPath:
FullPath
Returns the full apth of this folder.
property FullPath: not nullable String read;
String! FullPath { get; }
var FullPath: String { get{} }
String FullPath { __get; }
ReadOnly Property FullPath() As String
GetFile (String): File Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Get a file inside this folder.
Parameters:
- FileName:
Parameters:
- FileName:
GetFiles Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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()
Function GetFiles() As ImmutableList<String>
GetFiles (Boolean): not nullable ImmutableList<String> Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Function GetFiles(aRecursive As Boolean) As ImmutableList<String>
Parameters:
- aRecursive:
GetFiles (Boolean): not nullable ImmutableList<String> .NET, .NET Core 6.0, .NET Standard 2.0
method GetFiles(aRecursive: Boolean): not nullable ImmutableList<String>
ImmutableList<String>! GetFiles(Boolean aRecursive)
func GetFiles(_ aRecursive: Boolean) -> ImmutableList<String>
Function GetFiles(aRecursive As Boolean) As ImmutableList<String>
Parameters:
- aRecursive:
GetFiles (Folder, Boolean): not nullable ImmutableList<String> .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Shared Function GetFiles(aFolderName As Folder, aRecursive As Boolean) As ImmutableList<String>
Parameters:
- aFolderName:
- aRecursive:
GetFilesAndFolders .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Shared Function GetFilesAndFolders(aFolderName As Folder) As ImmutableList<String>
Parameters:
- aFolderName:
GetSubfolders Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Returrns a list of folders in a given folder.
GetSubfolders (Folder): not nullable List<String> .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Returrns a list of folders in a given folder.
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; }
ReadOnly Property Name() As String
Rename (String): Folder Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Rename this folder.
Parameters:
- NewName:
Parameters:
- NewName:
Separator
Returns the separator for path elements in this folder.
DateCreated Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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; }
ReadOnly Property DateCreated() As DateTime
DateModified Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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; }
Property DateModified() As DateTime
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; }
ReadOnly Property Extension() As String
FullPath
Returns the full apth of this folder.
property FullPath: not nullable String read;
String! FullPath { get; }
var FullPath: String { get{} }
String FullPath { __get; }
ReadOnly Property FullPath() As String
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; }
ReadOnly Property Name() As String
DateCreated .NET, .NET Core 6.0, .NET Standard 2.0
property DateCreated: DateTime read;
DateTime DateCreated { get; }
var DateCreated: DateTime { get{} }
ReadOnly Property DateCreated() As DateTime
DateModified .NET, .NET Core 6.0, .NET Standard 2.0
property DateModified: DateTime read write;
DateTime DateModified { get; set; }
var DateModified: DateTime { get{} set{} }
Property DateModified() As DateTime
Separator
Returns the separator for path elements in this folder.
Create (Folder, Boolean): Folder .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Creates a new folder.
Parameters:
- aFolderName:
- FailIfExists:
Delete (Folder) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Shared Sub Delete(aFolderName As Folder)
Parameters:
- aFolderName:
Exists (nullable Folder): Boolean .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Check if the folder exists.
Parameters:
- aFolderName:
GetFiles (Folder, Boolean): not nullable ImmutableList<String> .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Shared Function GetFiles(aFolderName As Folder, aRecursive As Boolean) As ImmutableList<String>
Parameters:
- aFolderName:
- aRecursive:
GetFilesAndFolders .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Shared Function GetFilesAndFolders(aFolderName As Folder) As ImmutableList<String>
Parameters:
- aFolderName:
GetSubfolders (Folder): not nullable List<String> .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Returrns a list of folders in a given folder.
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)
Sub New(aPath As String)
Parameters:
- aPath:
CopyContentsTo (Folder, Boolean) Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Copy the content of this folder, optionally recursively.
Parameters:
- aNewFolder:
- aRecursive:
Create (Boolean) Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Sub Create(FailIfExists As Boolean)
Parameters:
- FailIfExists:
CreateFile (String, Boolean): File Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Create a file in thsi folder.
Parameters:
- FileName:
- FailIfExists:
CreateSubfolder (String, Boolean): Folder Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Create a subdirectory in this folder.
Parameters:
- SubfolderName:
- FailIfExists:
Delete Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Delete a folder.
method Delete
void Delete()
func Delete()
void Delete()
Sub Delete()
Exists Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Check if the folder exists.
method Exists: Boolean
Boolean Exists()
func Exists() -> Boolean
Boolean Exists()
Function Exists() As Boolean
FirstMatchingSubfolder (String, Iterable<String>): String Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>): nullable String
String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions)
// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>) -> String?
Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>) As String?
Parameters:
- aFolder:
- aSubFolderOptions:
FirstMatchingSubfolder (String, Iterable<String>, Func<String, String, String>): String Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
method FirstMatchingSubfolder(aFolder: String; aSubFolderOptions: IEnumerable<String>; aBuildPath: Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>): nullable String
String? FirstMatchingSubfolder(String aFolder, IEnumerable<String> aSubFolderOptions, Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String> aBuildPath)
// Toffee
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: INSFastEnumeration<String>, _ aBuildPath: (String, String) -> String) -> String
// ToffeeV2
func FirstMatchingSubfolder(_ aFolder: String, _ aSubFolderOptions: IEnumerable<String>, _ aBuildPath: (String, String) -> String) -> String?
String FirstMatchingSubfolder(String aFolder, Iterable<String> aSubFolderOptions, Func3<String, String, String> aBuildPath)
Function FirstMatchingSubfolder(aFolder As String, aSubFolderOptions As IEnumerable<String>, aBuildPath As Func<RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String,RemObjects.Elements.RTL.String>) As String?
Parameters:
- aFolder:
- aSubFolderOptions:
- aBuildPath:
GetFile (String): File Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Get a file inside this folder.
Parameters:
- FileName:
GetFiles Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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()
Function GetFiles() As ImmutableList<String>
GetFiles (Boolean): not nullable ImmutableList<String> Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, 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)
Function GetFiles(aRecursive As Boolean) As ImmutableList<String>
Parameters:
- aRecursive:
GetSubfolders Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Returrns a list of folders in a given folder.
Rename (String): Folder Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Rename this folder.
Parameters:
- NewName: