Call us at +1 586 62 ELLIE Office Opened
sales@elliecomputing.com

Newsletter
Keep up to date with the new features added to ECMerge, the new products that we release and receive special offers! (approx. once a month):
HTML version
Text version
WeblogRSS 2.0
Testimonials

NewsRSS 2.0
November 3rd, 2008: We just released ECMerge 2.1.82. This version fixes several bugs.

October 19th, 2008: We added a page with converters. Converters allows to compare and open file such as archives (zip, rar...), PDF files and numerous images file formats.
               

SourceDescription object

 

 

Prototype for SourceDescription objects. Is a kind of ConfigurationObject.

Syntax

var source = new SourceDescription ();
source.url = "c:\\temp\\file.txt";

Parameters

 none.

Property Of

none.

Implemented In

ECMerge 2.1

Description

 The SourceDescription stores enough information to known how to access, present, load and save information about a given data source.

Properties

Property Description
loading_encoding EncodingProperties object. Determines how to load text files
output boolean. True if this source participate to result output process
saving_encoding EncodingProperties object. Determines how to save text files
title String. Title of this source if the reports and user interface
url URL object. URL pointing to the data source

 

Methods

 no specific method. see ConfigurationObject object.

Examples

Example 1.

This sample initializes a comparison with the same file in left and right sides. Then sets left side only as output.

var source = new SourceDescription( );
source.url = "c:\\temp\\file.txt";
var parameters = new Document.Parameters ( );
parameters.left = source;
parameters.right = source;
parameters.left.output = true;
var doc = new Document (parameters);
add_view (doc);

See Also 

 EncodingProperties object, URL object, ConfigurationObject object

Select your language English Français
© Ellié Computing 2004-2008 - Legal information - Resources