Package org.kie.maven.integration
Class IoUtils
- java.lang.Object
-
- org.kie.maven.integration.IoUtils
-
public class IoUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description IoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longcopy(InputStream input, OutputStream output)static FilecopyInTempFile(InputStream input, String fileExtension)static FilegetTmpDirectory()
-
-
-
Method Detail
-
copyInTempFile
public static File copyInTempFile(InputStream input, String fileExtension) throws IOException
- Throws:
IOException
-
copy
public static long copy(InputStream input, OutputStream output) throws IOException
- Throws:
IOException
-
getTmpDirectory
public static File getTmpDirectory()
-
-