C# 클래스 CSKernelFile.cFile

파일 보기 프로젝트 열기: javiercrowsoft/CSReports.net 1 사용 예제들

공개 메소드들

메소드 설명
binaryRead ( byte &buffer, bool &eof ) : bool
binaryWrite ( byte buffer ) : bool
cFile ( ) : System
close ( ) : void
copyFile ( string fullFileNameSource, string fullFileNameDestination ) : bool
getFileExt ( string fullFileName ) : string
getFileName ( string fullFileName ) : string
getFileWithoutExt ( string fullFileName ) : string
getName ( ) : string
getPath ( ) : string
getPath ( string fullFileName ) : string
getPathAndFileName ( string fullFileName, string &path, string &fileName ) : void
init ( string function, string module, object commDialog ) : void
open ( string fullFileName, eFileMode mode ) : bool
open ( string fullFileName, eFileMode mode, bool createFile ) : bool
open ( string fullFileName, eFileMode mode, bool createFile, bool silens, eFileAccess access, bool withDialog, bool canOpenOther ) : bool
read ( string &text, bool &eof ) : bool
save ( string fullFileName, bool &exists, bool &readOnly, string description ) : bool
setFilter ( string value ) : void
showOpenFileDlg ( string &userFile, string filter, string fileToSearch, string curDir, string title, bool saving ) : bool
userSearchFile ( string &fullFileName, bool ifNotExistsIsOk, string description, bool saving, bool canOpenOther ) : bool
write ( string text ) : bool

비공개 메소드들

메소드 설명
fileExists ( string fullFileName ) : bool
isSeparator ( string character ) : bool

메소드 상세

binaryRead() 공개 메소드

public binaryRead ( byte &buffer, bool &eof ) : bool
buffer byte
eof bool
리턴 bool

binaryWrite() 공개 메소드

public binaryWrite ( byte buffer ) : bool
buffer byte
리턴 bool

cFile() 공개 메소드

public cFile ( ) : System
리턴 System

close() 공개 메소드

public close ( ) : void
리턴 void

copyFile() 공개 정적인 메소드

public static copyFile ( string fullFileNameSource, string fullFileNameDestination ) : bool
fullFileNameSource string
fullFileNameDestination string
리턴 bool

getFileExt() 공개 정적인 메소드

public static getFileExt ( string fullFileName ) : string
fullFileName string
리턴 string

getFileName() 공개 정적인 메소드

public static getFileName ( string fullFileName ) : string
fullFileName string
리턴 string

getFileWithoutExt() 공개 정적인 메소드

public static getFileWithoutExt ( string fullFileName ) : string
fullFileName string
리턴 string

getName() 공개 메소드

public getName ( ) : string
리턴 string

getPath() 공개 메소드

public getPath ( ) : string
리턴 string

getPath() 공개 정적인 메소드

public static getPath ( string fullFileName ) : string
fullFileName string
리턴 string

getPathAndFileName() 공개 정적인 메소드

public static getPathAndFileName ( string fullFileName, string &path, string &fileName ) : void
fullFileName string
path string
fileName string
리턴 void

init() 공개 메소드

public init ( string function, string module, object commDialog ) : void
function string
module string
commDialog object
리턴 void

open() 공개 메소드

public open ( string fullFileName, eFileMode mode ) : bool
fullFileName string
mode eFileMode
리턴 bool

open() 공개 메소드

public open ( string fullFileName, eFileMode mode, bool createFile ) : bool
fullFileName string
mode eFileMode
createFile bool
리턴 bool

open() 공개 메소드

public open ( string fullFileName, eFileMode mode, bool createFile, bool silens, eFileAccess access, bool withDialog, bool canOpenOther ) : bool
fullFileName string
mode eFileMode
createFile bool
silens bool
access eFileAccess
withDialog bool
canOpenOther bool
리턴 bool

read() 공개 메소드

public read ( string &text, bool &eof ) : bool
text string
eof bool
리턴 bool

save() 공개 메소드

public save ( string fullFileName, bool &exists, bool &readOnly, string description ) : bool
fullFileName string
exists bool
readOnly bool
description string
리턴 bool

setFilter() 공개 메소드

public setFilter ( string value ) : void
value string
리턴 void

showOpenFileDlg() 공개 메소드

public showOpenFileDlg ( string &userFile, string filter, string fileToSearch, string curDir, string title, bool saving ) : bool
userFile string
filter string
fileToSearch string
curDir string
title string
saving bool
리턴 bool

userSearchFile() 공개 메소드

public userSearchFile ( string &fullFileName, bool ifNotExistsIsOk, string description, bool saving, bool canOpenOther ) : bool
fullFileName string
ifNotExistsIsOk bool
description string
saving bool
canOpenOther bool
리턴 bool

write() 공개 메소드

public write ( string text ) : bool
text string
리턴 bool