org.jacorb.idl

Class GlobalInputStream

public class GlobalInputStream extends Object

This class deals with IDL input files and their inclusion relationships.

Version: $Id: GlobalInputStream.java,v 1.22 2004/05/06 12:39:58 nicolas Exp $

Author: Gerald Brose

Method Summary
static FilecurrentFile()
static InputStreamcurrentStream()
static voidinclude(String fname, int lookahead, boolean useIncludePath)
static booleanincludeState()
static voidinit()
static voidinsert(String str)
static booleanisMoreRecentThan(File other)
Test if this input stream (or rather the underlying IDL file) is more recent (was modified at a later time than) another file.
static intread()
static voidsetIncludePath(String path)
static voidsetInput(String fname)

Method Detail

currentFile

public static File currentFile()

currentStream

public static InputStream currentStream()

include

public static void include(String fname, int lookahead, boolean useIncludePath)

includeState

public static boolean includeState()

init

public static void init()

insert

public static void insert(String str)

isMoreRecentThan

public static boolean isMoreRecentThan(File other)
Test if this input stream (or rather the underlying IDL file) is more recent (was modified at a later time than) another file. (Used, e.g., to determine if code has been previosuly generated from an IDL file).

Parameters: other the file to compare this stream against

Returns: true, if this stream's IDL file is more recent than the other file .

read

public static int read()

setIncludePath

public static void setIncludePath(String path)

setInput

public static void setInput(String fname)