org.apache.axis2.corba.idl
Class PreProcessorInputStream
java.lang.Object
java.io.InputStream
org.apache.axis2.corba.idl.PreProcessorInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class PreProcessorInputStream
- extends java.io.InputStream
Constructor Summary |
PreProcessorInputStream(java.lang.String parentPath,
java.lang.String idlFilename)
|
PreProcessorInputStream(java.lang.String parentPath,
java.lang.String idlFilename,
java.lang.String[] userIncludePaths,
java.lang.String[] systemIncludePaths)
|
Method Summary |
protected java.io.InputStream |
getInputStream(java.lang.String parent,
java.lang.String filename)
|
int |
read()
|
protected java.lang.StringBuffer |
readIdl(java.io.InputStream idlStream,
int depth)
|
protected java.io.InputStream |
resolveInclude(java.lang.String include,
java.lang.String lineNoString)
|
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, read, reset, skip |
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 java.lang.String[] userIncludePaths
systemIncludePaths
protected java.lang.String[] systemIncludePaths
currentFile
protected java.lang.String currentFile
parentPath
protected java.lang.String parentPath
idlContent
protected java.lang.StringBuffer idlContent
contentLength
protected int contentLength
lastRead
protected int lastRead
PreProcessorInputStream
public PreProcessorInputStream(java.lang.String parentPath,
java.lang.String idlFilename)
throws PreProcessorException
- Throws:
PreProcessorException
PreProcessorInputStream
public PreProcessorInputStream(java.lang.String parentPath,
java.lang.String idlFilename,
java.lang.String[] userIncludePaths,
java.lang.String[] systemIncludePaths)
throws PreProcessorException
- Throws:
PreProcessorException
readIdl
protected java.lang.StringBuffer readIdl(java.io.InputStream idlStream,
int depth)
throws PreProcessorException
- Throws:
PreProcessorException
resolveInclude
protected java.io.InputStream resolveInclude(java.lang.String include,
java.lang.String lineNoString)
throws PreProcessorException
- Throws:
PreProcessorException
getInputStream
protected java.io.InputStream getInputStream(java.lang.String parent,
java.lang.String filename)
throws PreProcessorException
- Throws:
PreProcessorException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
Copyright © 2007 Apache Web Services Project. All Rights Reserved.