public class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils()
Constructor method for i18n purposes only.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readData(org.apache.commons.vfs2.FileObject vfsfile)
Reads all binary data from the given network file.
|
static byte[] |
readData(InputStream istream)
Reads all binary data from the given stream.
|
public IOUtils()
throws InstantiationException
InstantiationException - Error indicationpublic static byte[] readData(org.apache.commons.vfs2.FileObject vfsfile)
throws IOException
vfsfile - The network fileNullPointerException - If a parameter is nullIOException - If an I/O error occurspublic static byte[] readData(InputStream istream) throws IOException
The input stream is never closed here.
istream - The input streamNullPointerException - If a parameter is nullIOException - If an I/O error occurs
Copyright © 2005-2026 Leisenfels GmbH. All rights reserved.