C# Class Sharpen.FilePath

Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Private Properties

Свойство Type Description
MakeDirWritable void
MakeFileWritable void

Méthodes publiques

Méthode Description
CanWrite ( ) : bool
CreateNewFile ( ) : bool
CreateTempFile ( ) : FilePath
CreateTempFile ( string prefix, string suffix ) : FilePath
CreateTempFile ( string prefix, string suffix, FilePath directory ) : FilePath
Delete ( ) : bool
DeleteOnExit ( ) : void
Equals ( object obj ) : bool
Exists ( ) : bool
FilePath ( ) : System
FilePath ( FilePath other, string child ) : System
FilePath ( string path ) : System
FilePath ( string other, string child ) : System
GetAbsoluteFile ( ) : FilePath
GetAbsolutePath ( ) : string
GetCanonicalFile ( ) : FilePath
GetCanonicalPath ( ) : string
GetHashCode ( ) : int
GetName ( ) : string
GetParent ( ) : string
GetParentFile ( ) : FilePath
GetPath ( ) : string
IsAbsolute ( ) : bool
IsDirectory ( ) : bool
IsFile ( ) : bool
LastModified ( ) : long
Length ( ) : long
List ( ) : string[]
List ( FilenameFilter filter ) : string[]
ListFiles ( ) : Sharpen.FilePath[]
Mkdir ( ) : bool
Mkdirs ( ) : bool
RenameTo ( FilePath file ) : bool
RenameTo ( string name ) : bool
SetLastModified ( long milis ) : bool
SetReadOnly ( ) : bool
ToString ( ) : string
ToURI ( ) : Uri
canExecute ( ) : bool
setExecutable ( bool exec ) : bool

Private Methods

Méthode Description
MakeDirWritable ( string dir ) : void
MakeFileWritable ( string file ) : void

Method Details

CanWrite() public méthode

public CanWrite ( ) : bool
Résultat bool

CreateNewFile() public méthode

public CreateNewFile ( ) : bool
Résultat bool

CreateTempFile() public static méthode

public static CreateTempFile ( ) : FilePath
Résultat FilePath

CreateTempFile() public static méthode

public static CreateTempFile ( string prefix, string suffix ) : FilePath
prefix string
suffix string
Résultat FilePath

CreateTempFile() public static méthode

public static CreateTempFile ( string prefix, string suffix, FilePath directory ) : FilePath
prefix string
suffix string
directory FilePath
Résultat FilePath

Delete() public méthode

public Delete ( ) : bool
Résultat bool

DeleteOnExit() public méthode

public DeleteOnExit ( ) : void
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Exists() public méthode

public Exists ( ) : bool
Résultat bool

FilePath() public méthode

public FilePath ( ) : System
Résultat System

FilePath() public méthode

public FilePath ( FilePath other, string child ) : System
other FilePath
child string
Résultat System

FilePath() public méthode

public FilePath ( string path ) : System
path string
Résultat System

FilePath() public méthode

public FilePath ( string other, string child ) : System
other string
child string
Résultat System

GetAbsoluteFile() public méthode

public GetAbsoluteFile ( ) : FilePath
Résultat FilePath

GetAbsolutePath() public méthode

public GetAbsolutePath ( ) : string
Résultat string

GetCanonicalFile() public méthode

public GetCanonicalFile ( ) : FilePath
Résultat FilePath

GetCanonicalPath() public méthode

public GetCanonicalPath ( ) : string
Résultat string

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetName() public méthode

public GetName ( ) : string
Résultat string

GetParent() public méthode

public GetParent ( ) : string
Résultat string

GetParentFile() public méthode

public GetParentFile ( ) : FilePath
Résultat FilePath

GetPath() public méthode

public GetPath ( ) : string
Résultat string

IsAbsolute() public méthode

public IsAbsolute ( ) : bool
Résultat bool

IsDirectory() public méthode

public IsDirectory ( ) : bool
Résultat bool

IsFile() public méthode

public IsFile ( ) : bool
Résultat bool

LastModified() public méthode

public LastModified ( ) : long
Résultat long

Length() public méthode

public Length ( ) : long
Résultat long

List() public méthode

public List ( ) : string[]
Résultat string[]

List() public méthode

public List ( FilenameFilter filter ) : string[]
filter FilenameFilter
Résultat string[]

ListFiles() public méthode

public ListFiles ( ) : Sharpen.FilePath[]
Résultat Sharpen.FilePath[]

Mkdir() public méthode

public Mkdir ( ) : bool
Résultat bool

Mkdirs() public méthode

public Mkdirs ( ) : bool
Résultat bool

RenameTo() public méthode

public RenameTo ( FilePath file ) : bool
file FilePath
Résultat bool

RenameTo() public méthode

public RenameTo ( string name ) : bool
name string
Résultat bool

SetLastModified() public méthode

public SetLastModified ( long milis ) : bool
milis long
Résultat bool

SetReadOnly() public méthode

public SetReadOnly ( ) : bool
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

ToURI() public méthode

public ToURI ( ) : Uri
Résultat System.Uri

canExecute() public méthode

public canExecute ( ) : bool
Résultat bool

setExecutable() public méthode

public setExecutable ( bool exec ) : bool
exec bool
Résultat bool