![]() |
|
ファイル操作に関するユーティリティクラス [詳解]
クラス |
|
struct | AssetEntry |
公開型 |
|
enum |
FileFuncFlags
: uint {
FO_MOVE = 0x1 , FO_COPY = 0x2 , FO_DELETE = 0x3 , FO_RENAME = 0x4 , FO_MOVE = 0x1 , FO_COPY = 0x2 , FO_DELETE = 0x3 , FO_RENAME = 0x4 } |
enum |
FILEOP_FLAGS
: ushort {
FOF_MULTIDESTFILES = 0x1 , FOF_CONFIRMMOUSE = 0x2 , FOF_SILENT = 0x4 , FOF_RENAMEONCOLLISION = 0x8 , FOF_NOCONFIRMATION = 0x10 , FOF_WANTMAPPINGHANDLE = 0x20 , FOF_ALLOWUNDO = 0x40 , FOF_FILESONLY = 0x80 , FOF_SIMPLEPROGRESS = 0x100 , FOF_NOCONFIRMMKDIR = 0x200 , FOF_NOERRORUI = 0x400 , FOF_NOCOPYSECURITYATTRIBS = 0x800 , FOF_NORECURSION = 0x1000 , FOF_NO_CONNECTED_ELEMENTS = 0x2000 , FOF_WANTNUKEWARNING = 0x4000 , FOF_NORECURSEREPARSE = 0x8000 , FOF_MULTIDESTFILES = 0x1 , FOF_CONFIRMMOUSE = 0x2 , FOF_SILENT = 0x4 , FOF_RENAMEONCOLLISION = 0x8 , FOF_NOCONFIRMATION = 0x10 , FOF_WANTMAPPINGHANDLE = 0x20 , FOF_ALLOWUNDO = 0x40 , FOF_FILESONLY = 0x80 , FOF_SIMPLEPROGRESS = 0x100 , FOF_NOCONFIRMMKDIR = 0x200 , FOF_NOERRORUI = 0x400 , FOF_NOCOPYSECURITYATTRIBS = 0x800 , FOF_NORECURSION = 0x1000 , FOF_NO_CONNECTED_ELEMENTS = 0x2000 , FOF_WANTNUKEWARNING = 0x4000 , FOF_NORECURSEREPARSE = 0x8000 } |
enum |
FileFuncFlags
: uint {
FO_MOVE = 0x1 , FO_COPY = 0x2 , FO_DELETE = 0x3 , FO_RENAME = 0x4 , FO_MOVE = 0x1 , FO_COPY = 0x2 , FO_DELETE = 0x3 , FO_RENAME = 0x4 } |
ファイル操作種別
|
|
enum |
FILEOP_FLAGS
: ushort {
FOF_MULTIDESTFILES = 0x1 , FOF_CONFIRMMOUSE = 0x2 , FOF_SILENT = 0x4 , FOF_RENAMEONCOLLISION = 0x8 , FOF_NOCONFIRMATION = 0x10 , FOF_WANTMAPPINGHANDLE = 0x20 , FOF_ALLOWUNDO = 0x40 , FOF_FILESONLY = 0x80 , FOF_SIMPLEPROGRESS = 0x100 , FOF_NOCONFIRMMKDIR = 0x200 , FOF_NOERRORUI = 0x400 , FOF_NOCOPYSECURITYATTRIBS = 0x800 , FOF_NORECURSION = 0x1000 , FOF_NO_CONNECTED_ELEMENTS = 0x2000 , FOF_WANTNUKEWARNING = 0x4000 , FOF_NORECURSEREPARSE = 0x8000 , FOF_MULTIDESTFILES = 0x1 , FOF_CONFIRMMOUSE = 0x2 , FOF_SILENT = 0x4 , FOF_RENAMEONCOLLISION = 0x8 , FOF_NOCONFIRMATION = 0x10 , FOF_WANTMAPPINGHANDLE = 0x20 , FOF_ALLOWUNDO = 0x40 , FOF_FILESONLY = 0x80 , FOF_SIMPLEPROGRESS = 0x100 , FOF_NOCONFIRMMKDIR = 0x200 , FOF_NOERRORUI = 0x400 , FOF_NOCOPYSECURITYATTRIBS = 0x800 , FOF_NORECURSION = 0x1000 , FOF_NO_CONNECTED_ELEMENTS = 0x2000 , FOF_WANTNUKEWARNING = 0x4000 , FOF_NORECURSEREPARSE = 0x8000 } |
ファイル操作フラグ
[詳解]
|
|
静的公開メンバ関数 |
|
static void | copyFile (IntPtr handle, List< string > srcList, List< string > destList) |
static void | copyFile (IntPtr handle, string src, string dest) |
static void | initialize () |
static string | GetFullPath (string path) |
static void | copyFile (IntPtr handle, List< string > srcList, List< string > destList) |
static void | copyFile (IntPtr handle, string src, string dest) |
static void | deleteFile (IntPtr handle, List< string > deleteList, bool isConfirm) |
static void | initialize () |
static bool | IsDefaultCheckFile (string path) |
static MemoryStream | getMemoryStream (string path) |
static string | GetFullPath (string path, bool inReturnCurrentFolderOnError=true) |
パスのフルパスを取得
[詳解]
|
|
static bool | Exists (string inPath) |
ファイルの存在確認(エンジン再生対応)
[詳解]
|
|
static string | CreateNewFilePath (string inFolderName, string inFileName) |
新しいファイル名の作成
[詳解]
|
|
static string | CreateTempDir () |
テンポラリフォルダの作成
[詳解]
|
|
公開変数類 |
|
bool | skipUnexistedFiles |
ファイル操作に関するユーティリティクラス
enum Yukar.Common.FileUtil.FILEOP_FLAGS : ushort |
enum Yukar.Common.FileUtil.FILEOP_FLAGS : ushort |
ファイル操作フラグ
|
static |
新しいファイル名の作成
inFolderName | フォルダ名 |
inFileName | 元ファイル名 |
|
static |
テンポラリフォルダの作成
|
static |
ファイルの存在確認(エンジン再生対応)
inPath | ファイルパス |
|
static |
パスのフルパスを取得
path | パス |
inReturnCurrentFolderOnError | エラー時にカレントフォルダを返す(false指定では空文字列) |