C# Class SharpCifs.Util.Sharpen.FilePath

Datei anzeigen Open project: brandonprry/Potato Class Usage Examples

Private Properties

Property Type Description
MakeDirWritable void
MakeFileWritable void

Public Methods

Method Description
CanExecute ( ) : bool
CreateNewFile ( ) : bool
CreateTempFile ( ) : FilePath
CreateTempFile ( string prefix, string suffix ) : FilePath
CreateTempFile ( string prefix, string suffix, FilePath directory ) : FilePath
DeleteOnExit ( ) : void
Equals ( object obj ) : 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 ( IFilenameFilter filter ) : string[]
ListFiles ( ) : SharpCifs.Util.Sharpen.FilePath[]
Mkdir ( ) : bool
Mkdirs ( ) : bool
RenameTo ( FilePath file ) : bool
RenameTo ( string name ) : bool
SetExecutable ( bool exec ) : bool
SetLastModified ( long milis ) : bool
SetReadOnly ( ) : bool
ToString ( ) : string
ToUri ( ) : Uri

Private Methods

Method Description
MakeDirWritable ( string dir ) : void
MakeFileWritable ( string file ) : void

Method Details

CanExecute() public method

public CanExecute ( ) : bool
return bool

CreateNewFile() public method

public CreateNewFile ( ) : bool
return bool

CreateTempFile() public static method

public static CreateTempFile ( ) : FilePath
return FilePath

CreateTempFile() public static method

public static CreateTempFile ( string prefix, string suffix ) : FilePath
prefix string
suffix string
return FilePath

CreateTempFile() public static method

public static CreateTempFile ( string prefix, string suffix, FilePath directory ) : FilePath
prefix string
suffix string
directory FilePath
return FilePath

DeleteOnExit() public method

public DeleteOnExit ( ) : void
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FilePath() public method

public FilePath ( ) : System
return System

FilePath() public method

public FilePath ( FilePath other, string child ) : System
other FilePath
child string
return System

FilePath() public method

public FilePath ( string path ) : System
path string
return System

FilePath() public method

public FilePath ( string other, string child ) : System
other string
child string
return System

GetAbsoluteFile() public method

public GetAbsoluteFile ( ) : FilePath
return FilePath

GetAbsolutePath() public method

public GetAbsolutePath ( ) : string
return string

GetCanonicalFile() public method

public GetCanonicalFile ( ) : FilePath
return FilePath

GetCanonicalPath() public method

public GetCanonicalPath ( ) : string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetName() public method

public GetName ( ) : string
return string

GetParent() public method

public GetParent ( ) : string
return string

GetParentFile() public method

public GetParentFile ( ) : FilePath
return FilePath

GetPath() public method

public GetPath ( ) : string
return string

IsAbsolute() public method

public IsAbsolute ( ) : bool
return bool

IsDirectory() public method

public IsDirectory ( ) : bool
return bool

IsFile() public method

public IsFile ( ) : bool
return bool

LastModified() public method

public LastModified ( ) : long
return long

Length() public method

public Length ( ) : long
return long

List() public method

public List ( ) : string[]
return string[]

List() public method

public List ( IFilenameFilter filter ) : string[]
filter IFilenameFilter
return string[]

ListFiles() public method

public ListFiles ( ) : SharpCifs.Util.Sharpen.FilePath[]
return SharpCifs.Util.Sharpen.FilePath[]

Mkdir() public method

public Mkdir ( ) : bool
return bool

Mkdirs() public method

public Mkdirs ( ) : bool
return bool

RenameTo() public method

public RenameTo ( FilePath file ) : bool
file FilePath
return bool

RenameTo() public method

public RenameTo ( string name ) : bool
name string
return bool

SetExecutable() public method

public SetExecutable ( bool exec ) : bool
exec bool
return bool

SetLastModified() public method

public SetLastModified ( long milis ) : bool
milis long
return bool

SetReadOnly() public method

public SetReadOnly ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

ToUri() public method

public ToUri ( ) : Uri
return System.Uri