org.apache.axis2.corba.idl
Class PreProcessorInputStream
java.lang.Object
java.io.InputStream
org.apache.axis2.corba.idl.PreProcessorInputStream
- All Implemented Interfaces:
- Closeable
public class PreProcessorInputStream
- extends InputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_DEPTH
public static int MAX_DEPTH
userIncludePaths
protected String[] userIncludePaths
systemIncludePaths
protected String[] systemIncludePaths
currentFile
protected String currentFile
parentPath
protected String parentPath
idlContent
protected StringBuffer idlContent
contentLength
protected int contentLength
lastRead
protected int lastRead
PreProcessorInputStream
public PreProcessorInputStream(String parentPath,
String idlFilename)
throws PreProcessorException
- Throws:
PreProcessorException
PreProcessorInputStream
public PreProcessorInputStream(String parentPath,
String idlFilename,
String[] userIncludePaths,
String[] systemIncludePaths)
throws PreProcessorException
- Throws:
PreProcessorException
readIdl
protected StringBuffer readIdl(InputStream idlStream,
int depth)
throws PreProcessorException
- Throws:
PreProcessorException
resolveInclude
protected InputStream resolveInclude(String include,
String lineNoString)
throws PreProcessorException
- Throws:
PreProcessorException
getInputStream
protected InputStream getInputStream(String parent,
String filename)
throws PreProcessorException
- Throws:
PreProcessorException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.