C# Class SDE.Tools.DatabaseEditor.Engines.Parsers.TextFileHelper

Datei anzeigen Open project: Tokeiburu/RagnarokSDE Class Usage Examples

Public Properties

Property Type Description
LastLineRead string

Public Methods

Method Description
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

Method Details

ExcludeBrackets() public static method

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

GetElements() public static method

public static GetElements ( byte data ) : IEnumerable
data byte
return IEnumerable

GetElementsByBrackets() public static method

public static GetElementsByBrackets ( byte data ) : IEnumerable
data byte
return IEnumerable

GetElementsByCommas() public static method

public static GetElementsByCommas ( byte data ) : IEnumerable
data byte
return IEnumerable

GetElementsByParenthesis() public static method

public static GetElementsByParenthesis ( byte data ) : IEnumerable
data byte
return IEnumerable

GetElementsByTabs() public static method

public static GetElementsByTabs ( byte data ) : IEnumerable
data byte
return IEnumerable

ReadNextElement() public static method

public static ReadNextElement ( StreamReader reader ) : string[]
reader StreamReader
return string[]

ReadNextLine() public static method

public static ReadNextLine ( StreamReader reader ) : string
reader StreamReader
return string

ReadUntil() public static method

public static ReadUntil ( StreamReader reader, string c ) : string
reader StreamReader
c string
return string

SetAndLoadReader() public static method

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

SetAndLoadReader() public static method

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

Property Details

LastLineRead public_oe static_oe property

public static string LastLineRead
return string