C# 클래스 SDE.Tools.DatabaseEditor.Engines.Parsers.TextFileHelper

파일 보기 프로젝트 열기: Tokeiburu/RagnarokSDE 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LastLineRead string

공개 메소드들

메소드 설명
ExcludeBrackets ( string line, char left = '{', char right = '}' ) : string[]
GetElements ( byte data ) : IEnumerable
GetElementsByBrackets ( byte data ) : IEnumerable
GetElementsByCommas ( byte data ) : IEnumerable
GetElementsByParenthesis ( byte data ) : IEnumerable
GetElementsByTabs ( byte data ) : IEnumerable
ReadNextElement ( StreamReader reader ) : string[]
ReadNextLine ( StreamReader reader ) : string
ReadUntil ( StreamReader reader, string c ) : string
SetAndLoadReader ( MemoryStream memoryStream, Encoding @default ) : StreamReader
SetAndLoadReader ( string file, Encoding @default ) : StreamReader

메소드 상세

ExcludeBrackets() 공개 정적인 메소드

public static ExcludeBrackets ( string line, char left = '{', char right = '}' ) : string[]
line string
left char
right char
리턴 string[]

GetElements() 공개 정적인 메소드

public static GetElements ( byte data ) : IEnumerable
data byte
리턴 IEnumerable

GetElementsByBrackets() 공개 정적인 메소드

public static GetElementsByBrackets ( byte data ) : IEnumerable
data byte
리턴 IEnumerable

GetElementsByCommas() 공개 정적인 메소드

public static GetElementsByCommas ( byte data ) : IEnumerable
data byte
리턴 IEnumerable

GetElementsByParenthesis() 공개 정적인 메소드

public static GetElementsByParenthesis ( byte data ) : IEnumerable
data byte
리턴 IEnumerable

GetElementsByTabs() 공개 정적인 메소드

public static GetElementsByTabs ( byte data ) : IEnumerable
data byte
리턴 IEnumerable

ReadNextElement() 공개 정적인 메소드

public static ReadNextElement ( StreamReader reader ) : string[]
reader StreamReader
리턴 string[]

ReadNextLine() 공개 정적인 메소드

public static ReadNextLine ( StreamReader reader ) : string
reader StreamReader
리턴 string

ReadUntil() 공개 정적인 메소드

public static ReadUntil ( StreamReader reader, string c ) : string
reader StreamReader
c string
리턴 string

SetAndLoadReader() 공개 정적인 메소드

public static SetAndLoadReader ( MemoryStream memoryStream, Encoding @default ) : StreamReader
memoryStream MemoryStream
@default Encoding
리턴 StreamReader

SetAndLoadReader() 공개 정적인 메소드

public static SetAndLoadReader ( string file, Encoding @default ) : StreamReader
file string
@default Encoding
리턴 StreamReader

프로퍼티 상세

LastLineRead 공개적으로 정적으로 프로퍼티

public static string LastLineRead
리턴 string