system/src/sc/parser/Language.java
public Object process(SrcEntry file, boolean enablePartialValues) {
      if (file.isZip()) {
         // This is closed inside of the parse method
         InputStream input = file.getInputStream();
         if (input == null) {
            throw new IllegalArgumentException("Unable to open zip file: " + file);
         }
         else
            return parse(file.absFileName, new BufferedReader(new InputStreamReader(input)), startParselet, enablePartialValues);
      }
      else {
         try {
            PerfMon.start("parse", false);
            return parse(file.absFileName, startParselet, enablePartialValues);
         }
         finally {
            PerfMon.end("parse");
         }
      }
   }
/** Used by the LayeredSystem from the IFileProcessor interface to parse the file.  */
Used by the LayeredSystem from the IFileProcessor interface to parse the file.
Used by the LayeredSystem from the IFileProcessor interface to parse the file .
public Object process(SrcEntry file, boolean enablePartialValues) {
      if (file.isZip()) {
         InputStream input = file.getInputStream();
         if (input == null) {
            throw new IllegalArgumentException("Unable to open zip file: " + file);
         }
         else
            return parse(file.absFileName, new BufferedReader(new InputStreamReader(input)), startParselet, enablePartialValues);
      }
      else {
         try {
            PerfMon.start("parse", false);
            return parse(file.absFileName, startParselet, enablePartialValues);
         }
         finally {
            PerfMon.end("parse");
         }
      }
   }
public Object process ( SrcEntry file , boolean enablePartialValues ) { if ( file . isZip ( ) ) { InputStream input = file . getInputStream ( ) ; if ( input == null ) { throw new IllegalArgumentException ( "Unable to open zip file: " + file ) ; } else return parse ( file . absFileName , new BufferedReader ( new InputStreamReader ( input ) ) , startParselet , enablePartialValues ) ; } else { try { PerfMon . start ( "parse" , false ) ; return parse ( file . absFileName , startParselet , enablePartialValues ) ; } finally { PerfMon . end ( "parse" ) ; } } }
Used by the LayeredSystem from the IFileProcessor interface to parse the file.
Used by the LayeredSystem from the IFileProcessor interface to parse the file .
// This is closed inside of the parse method