public void pushStream(char[] inStream,int inFileid,String name,String inBaseDir,String inEncoding){
  includeStack.push(new IncludeState(cursor,line,col,fileid,fileName,baseDir,encoding,stream));
  cursor=0;
  line=1;
  col=1;
  fileid=inFileid;
  fileName=name;
  baseDir=inBaseDir;
  encoding=inEncoding;
  stream=inStream;
}

public void pushStream ( char [ ] inStream , int inFileid , String name , String inBaseDir , String inEncoding ) { includeStack . push ( new IncludeState ( cursor , line , col , fileid , fileName , baseDir , encoding , stream ) ) ; cursor = 0 ; line = 1 ; col = 1 ; fileid = inFileid ; fileName = name ; baseDir = inBaseDir ; encoding = inEncoding ; stream = inStream ; }
sets this mark ' s state to a new stream . it will store the current stream in it ' s includestack .
