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, skip
public 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
PreProcessorException
public PreProcessorInputStream(String parentPath, String idlFilename, String[] userIncludePaths, String[] systemIncludePaths) throws PreProcessorException
PreProcessorException
protected StringBuffer readIdl(InputStream idlStream, int depth) throws PreProcessorException
PreProcessorException
protected InputStream resolveInclude(String include, String lineNoString) throws PreProcessorException
PreProcessorException
protected InputStream getInputStream(String parent, String filename) throws PreProcessorException
PreProcessorException
public int read() throws IOException
read
in class InputStream
IOException
Copyright © The Apache Software Foundation. All Rights Reserved.