Class InputOutput
java.lang.Object
net.bull.javamelody.internal.common.InputOutput
Utilitaires entrées/sorties.
- Author:
- Emeric Vernat
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleandeleteFile(File file) static voidpump(InputStream input, OutputStream output) static voidpumpFromFile(File file, OutputStream output) static byte[]pumpToByteArray(InputStream input) static voidpumpToFile(InputStream input, File file) static StringpumpToString(InputStream input, Charset charset) static void
-
Method Details
-
pump
- Throws:
IOException
-
pumpToByteArray
- Throws:
IOException
-
pumpToString
- Throws:
IOException
-
pumpToFile
- Throws:
IOException
-
pumpFromFile
- Throws:
IOException
-
zipFile
- Throws:
IOException
-
deleteFile
-
copyFile
- Throws:
IOException
-