C# Class Sharpen.FilePath

Mostrar archivo Open project: nonorganic/dssnet Class Usage Examples

Private Properties

Property Type Description
MakeDirWritable void
MakeFileWritable void

Public Methods

Method 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

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

Method Details

CanWrite() public method

public CanWrite ( ) : 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

Delete() public method

public Delete ( ) : bool
return bool

DeleteOnExit() public method

public DeleteOnExit ( ) : void
return void

Equals() public method

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

Exists() public method

public Exists ( ) : bool
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 ( FilenameFilter filter ) : string[]
filter FilenameFilter
return string[]

ListFiles() public method

public ListFiles ( ) : Sharpen.FilePath[]
return 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

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

canExecute() public method

public canExecute ( ) : bool
return bool

setExecutable() public method

public setExecutable ( bool exec ) : bool
exec bool
return bool