Свойство | Тип | Описание | |
---|---|---|---|
vfs |
Метод | Описание | |
---|---|---|
AssertNameValid ( String name ) : void |
文件名无效时抛出异常
|
|
AssertPathValid ( String path ) : void |
路径无效时抛出异常
|
|
Format ( |
格式化磁盘
|
|
GetDevice ( ) : DeviceAdapter.AbstractDevice | ||
GetPathDirectory ( String path ) : String |
获取一个路径的目录
|
|
GetPathName ( String path ) : String |
获取一个路径的文件名
|
|
GetSuperBlock ( ) : |
||
IsFormated ( ) : System.Boolean |
是否已格式化
|
|
IsNameValid ( String name ) : System.Boolean |
判断一个文件名是否有效
|
|
IsPathValid ( String path ) : System.Boolean |
判断一个路径是否有效
|
|
NewDirectory ( String path ) : Directory | ||
NewFile ( String path, FileMode fileMode ) : File | ||
VFS ( AbstractDevice device ) : System |
public static AssertNameValid ( String name ) : void | ||
name | String | |
Результат | void |
public static AssertPathValid ( String path ) : void | ||
path | String | |
Результат | void |
public Format ( |
||
inodeCapacity | ||
blockSizeKB | ||
Результат | void |
public GetDevice ( ) : DeviceAdapter.AbstractDevice | ||
Результат | DeviceAdapter.AbstractDevice |
public static GetPathDirectory ( String path ) : String | ||
path | String | |
Результат | String |
public static GetPathName ( String path ) : String | ||
path | String | |
Результат | String |
public static IsNameValid ( String name ) : System.Boolean | ||
name | String | |
Результат | System.Boolean |
public static IsPathValid ( String path ) : System.Boolean | ||
path | String | |
Результат | System.Boolean |
public NewDirectory ( String path ) : Directory | ||
path | String | |
Результат | Directory |
public NewFile ( String path, FileMode fileMode ) : File | ||
path | String | |
fileMode | FileMode | |
Результат | File |
public VFS ( AbstractDevice device ) : System | ||
device | AbstractDevice | |
Результат | System |