Package net.xoetrope.optional.filter

Examples of net.xoetrope.optional.filter.FilePreprocessor


        String outputFile = synthConfigFile.substring( 0, pos ) + ".synth";

          // Try to find a preprocessor for the file, at runtime this load should fail as the preprocessor
          // will not be present.
          try {
              FilePreprocessor processor = (FilePreprocessor)Class.forName( "net.xoetrope.optional.laf.synth.SynthPreprocessor" ).newInstance();
              DebugLogger.trace( currentProject.findResourceAsString( synthConfigFile ));
              bis = currentProject.getBufferedInputStream ( synthConfigFile );
              String processedStr = processor.process( bis );
              ByteArrayInputStream bais = new ByteArrayInputStream( processedStr.getBytes() );
              bis = new BufferedInputStream( bais );

              // Save the config file
              outputFile = getOutputPath( currentProject, "resources", synthConfigFile.substring( 0, pos ), ".synth" );
View Full Code Here

TOP

Related Classes of net.xoetrope.optional.filter.FilePreprocessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.