C# Class Fan.Sys.LocalFile

LocalFile represents a file or directory in the local file system.
Inheritance: File
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Méthode Description
@in ( Long bufSize ) : InStream
@out ( bool append, Long bufSize ) : OutStream
@typeof ( ) : Type
LocalFile ( System.IO.FileSystemInfo file ) : System.Collections
LocalFile ( System.IO.FileSystemInfo file, bool isDir ) : System.Collections
LocalFile ( Uri uri ) : System.Collections
LocalFile ( Uri uri, System.IO.FileSystemInfo file ) : System.Collections
create ( ) : File
delete ( ) : void
deleteOnExit ( ) : File
exists ( ) : bool
fileNameToUriName ( string name ) : string
fileToUri ( System.IO.FileSystemInfo file, bool isDir ) : Uri
list ( Regex pattern ) : List
mmap ( string mode, long pos, Long size ) : Buf
modified ( ) : DateTime
modified ( DateTime time ) : void
moveTo ( File to ) : File
normalize ( ) : File
open ( string mode ) : Buf
osPath ( ) : string
parent ( ) : File
pathToUri ( string path, bool isDir ) : Uri
pathToUri ( string path, bool isDir, string scheme ) : Uri
plus ( Uri uri, bool checkSlash ) : File
size ( ) : Long
toDotnet ( ) : System.IO.FileSystemInfo
toUri ( System.IO.FileSystemInfo file ) : Uri
uriToFile ( Uri uri ) : System.IO.FileSystemInfo
uriToPath ( Uri uri ) : string

Private Methods

Méthode Description
LocalFile ( ) : System.Collections
createDir ( ) : void
createFile ( ) : void
handleProcessExit ( object sender, System args ) : void

Method Details

@in() public méthode

public @in ( Long bufSize ) : InStream
bufSize Long
Résultat InStream

@out() public méthode

public @out ( bool append, Long bufSize ) : OutStream
append bool
bufSize Long
Résultat OutStream

@typeof() public méthode

public @typeof ( ) : Type
Résultat Type

LocalFile() public méthode

public LocalFile ( System.IO.FileSystemInfo file ) : System.Collections
file System.IO.FileSystemInfo
Résultat System.Collections

LocalFile() public méthode

public LocalFile ( System.IO.FileSystemInfo file, bool isDir ) : System.Collections
file System.IO.FileSystemInfo
isDir bool
Résultat System.Collections

LocalFile() public méthode

public LocalFile ( Uri uri ) : System.Collections
uri Uri
Résultat System.Collections

LocalFile() public méthode

public LocalFile ( Uri uri, System.IO.FileSystemInfo file ) : System.Collections
uri Uri
file System.IO.FileSystemInfo
Résultat System.Collections

create() public méthode

public create ( ) : File
Résultat File

delete() public méthode

public delete ( ) : void
Résultat void

deleteOnExit() public méthode

public deleteOnExit ( ) : File
Résultat File

exists() public méthode

public exists ( ) : bool
Résultat bool

fileNameToUriName() public static méthode

public static fileNameToUriName ( string name ) : string
name string
Résultat string

fileToUri() public static méthode

public static fileToUri ( System.IO.FileSystemInfo file, bool isDir ) : Uri
file System.IO.FileSystemInfo
isDir bool
Résultat Uri

list() public méthode

public list ( Regex pattern ) : List
pattern Regex
Résultat List

mmap() public méthode

public mmap ( string mode, long pos, Long size ) : Buf
mode string
pos long
size Long
Résultat Buf

modified() public méthode

public modified ( ) : DateTime
Résultat DateTime

modified() public méthode

public modified ( DateTime time ) : void
time DateTime
Résultat void

moveTo() public méthode

public moveTo ( File to ) : File
to File
Résultat File

normalize() public méthode

public normalize ( ) : File
Résultat File

open() public méthode

public open ( string mode ) : Buf
mode string
Résultat Buf

osPath() public méthode

public osPath ( ) : string
Résultat string

parent() public méthode

public parent ( ) : File
Résultat File

pathToUri() public static méthode

public static pathToUri ( string path, bool isDir ) : Uri
path string
isDir bool
Résultat Uri

pathToUri() public static méthode

public static pathToUri ( string path, bool isDir, string scheme ) : Uri
path string
isDir bool
scheme string
Résultat Uri

plus() public méthode

public plus ( Uri uri, bool checkSlash ) : File
uri Uri
checkSlash bool
Résultat File

size() public méthode

public size ( ) : Long
Résultat Long

toDotnet() public méthode

public toDotnet ( ) : System.IO.FileSystemInfo
Résultat System.IO.FileSystemInfo

toUri() public static méthode

public static toUri ( System.IO.FileSystemInfo file ) : Uri
file System.IO.FileSystemInfo
Résultat Uri

uriToFile() public static méthode

public static uriToFile ( Uri uri ) : System.IO.FileSystemInfo
uri Uri
Résultat System.IO.FileSystemInfo

uriToPath() public static méthode

public static uriToPath ( Uri uri ) : string
uri Uri
Résultat string