org.jacorb.idl
Class GlobalInputStream
java.lang.Object
org.jacorb.idl.GlobalInputStream
public class GlobalInputStream
extends java.lang.Object
This class deals with IDL input files and their inclusion relationships.
Version:
- Gerald Brose
currentFile
public static File currentFile()
currentStream
public static InputStream currentStream()
include
public static void include(String fname,
int lookahead,
boolean useIncludePath)
throws FileNotFoundException
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).
other
- the file to compare this stream against
- true, if this stream's IDL file is more recent than the other file .
read
public static int read()
throws IOException
setIncludePath
public static void setIncludePath(String path)
setInput
public static void setInput(String fname)
throws java.io.IOException