public class PreProcessorInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
contentLength |
protected String |
currentFile |
protected StringBuffer |
idlContent |
protected int |
lastRead |
static int |
MAX_DEPTH |
protected String |
parentPath |
protected String[] |
systemIncludePaths |
protected String[] |
userIncludePaths |
| Constructor and Description |
|---|
PreProcessorInputStream(String parentPath,
String idlFilename) |
PreProcessorInputStream(String parentPath,
String idlFilename,
String[] userIncludePaths,
String[] systemIncludePaths) |
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
getInputStream(String parent,
String filename) |
int |
read() |
protected StringBuffer |
readIdl(InputStream idlStream,
int depth) |
protected InputStream |
resolveInclude(String include,
String lineNoString) |
available, close, mark, markSupported, read, read, reset, skippublic static int MAX_DEPTH
protected String[] userIncludePaths
protected String[] systemIncludePaths
protected String currentFile
protected String parentPath
protected StringBuffer idlContent
protected int contentLength
protected int lastRead
public PreProcessorInputStream(String parentPath, String idlFilename) throws PreProcessorException
PreProcessorExceptionpublic PreProcessorInputStream(String parentPath, String idlFilename, String[] userIncludePaths, String[] systemIncludePaths) throws PreProcessorException
PreProcessorExceptionprotected StringBuffer readIdl(InputStream idlStream, int depth) throws PreProcessorException
PreProcessorExceptionprotected InputStream resolveInclude(String include, String lineNoString) throws PreProcessorException
PreProcessorExceptionprotected InputStream getInputStream(String parent, String filename) throws PreProcessorException
PreProcessorExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © The Apache Software Foundation. All Rights Reserved.