Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.PropertyHandler.JavaProperties.LineReader Class Reference

A private class to read lines from the input stream in the special escaped ".properties" format. More...

Public Member Functions

 LineReader (Stream stream)
 Construct the LineReader with a stream to read from. More...
 
int ReadLine ()
 Read a line in the specialised ".properties" format. More...
 

Public Attributes

char[] lineBuffer = new char[1024]
 After calling ReadLine, holds the characters of the line read. More...
 

Detailed Description

A private class to read lines from the input stream in the special escaped ".properties" format.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.PropertyHandler.JavaProperties.LineReader.LineReader ( Stream  stream)

Construct the LineReader with a stream to read from.

Parameters
streamThe stream to be read from - it is then wrapped in a StreamReader.

Member Function Documentation

int PushTechnology.DiffusionCore.PropertyHandler.JavaProperties.LineReader.ReadLine ( )

Read a line in the specialised ".properties" format.

Returns
The number of characters in lineBuffer.

Member Data Documentation

char [] PushTechnology.DiffusionCore.PropertyHandler.JavaProperties.LineReader.lineBuffer = new char[1024]

After calling ReadLine, holds the characters of the line read.