Performs operations on std::basic_string instances that contain file or directory path information. These operations are performed in a cross-platform manner.
- Namespace
- xtd::io
- Library
- xtd.core
|
template<typename char_t > |
static char_t | alt_directory_separator_char () noexcept |
| Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. More...
|
|
static char | alt_directory_separator_char () noexcept |
| Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. More...
|
|
static xtd::ustring | change_extension (const xtd::ustring &path, const xtd::ustring &extension) |
| Changes the extension of a path string. More...
|
|
static xtd::ustring | combine (const std::initializer_list< xtd::ustring > &paths) noexcept |
| Combines path strings array. More...
|
|
static xtd::ustring | combine (const xtd::ustring &path1, const xtd::ustring &path2) |
| Combines two path strings. More...
|
|
template<typename path_t > |
static xtd::ustring | combine (path_t paths) noexcept |
| Combines path strings array. More...
|
|
template<typename type1_t , typename type2_t , typename type3_t > |
static auto | combine (type1_t path1, type2_t path2, type3_t path3) noexcept |
| Combines three path strings. More...
|
|
template<typename type1_t , typename type2_t , typename type3_t , typename type4_t > |
static auto | combine (type1_t path1, type2_t path2, type3_t path3, type4_t path4) noexcept |
| Combines four path strings. More...
|
|
template<typename char_t > |
static char_t | directory_separator_char () noexcept |
| Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization. More...
|
|
static char | directory_separator_char () noexcept |
| Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization. More...
|
|
static xtd::ustring | get_directory_name (const xtd::ustring &path) |
| Returns the directory information for the specified path string. More...
|
|
static xtd::ustring | get_extension (const xtd::ustring &path) |
| Returns the extension of the specified path string. More...
|
|
static xtd::ustring | get_file_name (const xtd::ustring &path) |
| Returns the file name and extension of the specified path string. More...
|
|
static xtd::ustring | get_file_name_without_extension (const xtd::ustring &path) |
|
static xtd::ustring | get_full_path (const xtd::ustring &path) |
| Returns the absolute path for the specified path string. More...
|
|
template<typename char_t > |
static std::vector< char_t > | get_invalid_path_chars () noexcept |
| Gets an array containing the characters that are not allowed in path names. More...
|
|
static std::vector< char > | get_invalid_path_chars () noexcept |
| Gets an array containing the characters that are not allowed in path names. More...
|
|
static xtd::ustring | get_path_root (const xtd::ustring &path) |
| Gets the root directory information of the specified path. More...
|
|
static xtd::ustring | get_random_file_name () |
| Returns a random folder name or file name. More...
|
|
static xtd::ustring | get_temp_file_name () |
| Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. More...
|
|
static xtd::ustring | get_temp_path () noexcept |
| Returns the path of the current user's temporary folder. More...
|
|
static bool | has_extension (const xtd::ustring &path) |
| Determines whether a path includes a file name extension. More...
|
|
static bool | is_path_rooted (const xtd::ustring &path) |
| Gets a value indicating whether the specified path string contains absolute or relative path information. More...
|
|
template<typename char_t > |
static char_t | path_separator () noexcept |
| A platform-specific separator character used to separate path strings in environment variables. More...
|
|
static char | path_separator () noexcept |
| A platform-specific separator character used to separate path strings in environment variables. More...
|
|
template<typename char_t > |
static char_t | volume_separator_char () noexcept |
| Provides a platform-specific volume separator character. More...
|
|
static char | volume_separator_char () noexcept |
| Provides a platform-specific volume separator character. More...
|
|