org.codehaus.mojo.smc
Class Util

java.lang.Object
  extended by org.codehaus.mojo.smc.Util

public class Util
extends java.lang.Object

Util functions for the smc plugin

Version:
$Id: Util.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Jerome Lacoste

Constructor Summary
Util()
           
 
Method Summary
static void copyStreamToFile(java.io.InputStream stream, java.lang.String outputFilePath)
          Uses the default charset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

copyStreamToFile

public static void copyStreamToFile(java.io.InputStream stream,
                                    java.lang.String outputFilePath)
                             throws java.io.FileNotFoundException,
                                    java.io.IOException
Uses the default charset

Parameters:
stream -
outputFilePath -
Throws:
java.io.FileNotFoundException - if the output file path is invalid
java.io.IOException


Copyright © 2006-2010. All Rights Reserved.