Servertec pp:preprocess( ) Method
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iPP
Templates
Constants
Identifiers
Operators
Directives
Macros
Java API
_init( )
_preprocess( )
_reset( )
_wrapup( )
directiveDelimiter
define( )
displayLogo
embeddedQuotes
generateLineDirectives
getDefinition( )
getFileName( )
getIdentifiers( )
getLine( )
getLineNumber( )
getVersion( )
isDefined( )
isMacro( )
lineDelimiter
main( )
pp( )
preprocess( )
removeBlankLines
removeComments
searchPath
undefine( )
verboseMessages
warningMessages

Legal
Contact Us

 

Used to preprocess the specified input stream, item or file.

Syntax

    pp.preprocess( InputReader , OutputWriter )
    pp.preprocess( InputReader , OutputWriter, ErrorWriter )

Parameters

    InputReader Reader object containing the item to preprocessed.
    OutputWriter Writer object that will contain the resultant preprocessed item.
    ErrorWriter Writer object containing the item to preprocessed.

Returns

    Nothing.

Exceptions

    Any exception thrown.

Notes

    pp an instance of the pp class.

    Statements and directives are delimited by \n.

    Requires that stec.pp.pp be imported.

Example

    pp.preprocess(reader, writer)
    

Syntax

    pp.preprocess( String )

Parameters

    String contains the item to preprocess.

Returns

    String contains the preprocessed item.

Exceptions

    Any exception thrown.

Notes

    pp an instance of the pp class.

    Statements and directives are delimited by \n.

    Required that stec.pp.pp be imported.

Example

    pp.preprocess(item)
    

Syntax

    pp.preprocess( InputFileName, OutputFileName, ErrorFileName )

Parameters

    InputFileName String object containing the name of the file that will be preprocessed.
    OutputFileName String object containing the name of the file that the preprocessed item will be written to.
    ErrorFileName String object containing the name of the file that errors will be written to.

Returns

    Nothing.

Exceptions

    Any exception thrown.

Notes

    pp an instance of the pp class.

    Statements and directives are delimited by \n.

    Requires that stec.pp.pp be imported.

Example

    pp.preprocess(inputFile, outputFile, errorFile)
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:03 EDT 2005