org.jacorb.idl
Class GlobalInputStream
java.lang.Object
org.jacorb.idl.GlobalInputStream
public class GlobalInputStream
- extends Object
This class deals with IDL input files and their inclusion relationships.
- Version:
- $Id: GlobalInputStream.java,v 1.26 2011-05-10 15:40:36 nick.cross Exp $
- Author:
- Gerald Brose
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalInputStream
public GlobalInputStream()
init
public static void init()
cleanUp
public static void cleanUp()
setInput
public static void setInput(String fname)
throws IOException
- Throws:
IOException
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 .
includeState
public static boolean includeState()
insert
public static void insert(String str)
include
public static void include(String fname,
int lookahead,
boolean useIncludePath)
throws FileNotFoundException
- Throws:
FileNotFoundException
setIncludePath
public static void setIncludePath(String path)
currentFile
public static File currentFile()
currentStream
public static InputStream currentStream()
read
public static int read()
throws IOException
- Throws:
IOException
Copyright © 2012 JacORB. All Rights Reserved.