Property | Type | Description | |
---|---|---|---|
vfs |
Method | Description | |
---|---|---|
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 | |
return | void |
public static AssertPathValid ( String path ) : void | ||
path | String | |
return | void |
public Format ( |
||
inodeCapacity | ||
blockSizeKB | ||
return | void |
public GetDevice ( ) : DeviceAdapter.AbstractDevice | ||
return | DeviceAdapter.AbstractDevice |
public static GetPathDirectory ( String path ) : String | ||
path | String | |
return | String |
public static GetPathName ( String path ) : String | ||
path | String | |
return | String |
public static IsNameValid ( String name ) : System.Boolean | ||
name | String | |
return | System.Boolean |
public static IsPathValid ( String path ) : System.Boolean | ||
path | String | |
return | System.Boolean |
public NewDirectory ( String path ) : Directory | ||
path | String | |
return | Directory |
public NewFile ( String path, FileMode fileMode ) : File | ||
path | String | |
fileMode | FileMode | |
return | File |
public VFS ( AbstractDevice device ) : System | ||
device | AbstractDevice | |
return | System |