C# Class AODL.Document.Import.PlainText.PlainTextImporter

Plain Text Importer.
Inheritance: IImporter, IPublisherInfo
Afficher le fichier Open project: monsterlabs/HumanRightsTracker

Méthodes publiques

Méthode Description
DeleteUnpackedFiles ( ) : void
Import ( IDocument document, string filename ) : void

Imports the specified filename.

PlainTextImporter ( ) : System

Initializes a new instance of the PlainTextImporter class.

Private Methods

Méthode Description
ReadContentFromFile ( string fileName ) : string

Reads the content from file.

ReadTextToDocument ( string text ) : void

Reads the text to document.

SetConformLineBreaks ( string text ) : string

Sets the conform line breaks.

Method Details

DeleteUnpackedFiles() public méthode

public DeleteUnpackedFiles ( ) : void
Résultat void

Import() public méthode

Imports the specified filename.
public Import ( IDocument document, string filename ) : void
document IDocument The TextDocument to fill.
filename string The filename.
Résultat void

PlainTextImporter() public méthode

Initializes a new instance of the PlainTextImporter class.
public PlainTextImporter ( ) : System
Résultat System