|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.io.IOUtils
IOUtils
instead
@Deprecated public class IOUtils
General purpose java.io package utilities methods.
IOUtils
Constructor Summary | |
---|---|
IOUtils()
Deprecated. |
Method Summary | |
---|---|
static void |
close(InputStream i)
Deprecated. since 3.0 use IOUtils.closeQuietly(InputStream) |
static void |
close(OutputStream o)
Deprecated. since 3.0 use IOUtils.closeQuietly(OutputStream) |
static void |
close(Reader r)
Deprecated. since 3.0 use IOUtils.closeQuietly(Reader) |
static void |
close(Writer w)
Deprecated. since 3.0 use IOUtils.closeQuietly(Writer) |
static void |
copy(InputStream i,
OutputStream o)
Deprecated. since 3.0 use IOUtils instead |
static File |
createTmpDir(String prefix,
String suffix)
Deprecated. since 3.0 because it was only used in tests |
static void |
flushAndClose(OutputStream o)
Deprecated. since 3.0 use OutputStream.flush() followed by IOUtils.closeQuietly(OutputStream) |
static void |
flushAndClose(Writer w)
Deprecated. since 3.0 use Writer.flush() followed by IOUtils.closeQuietly(Writer) |
static byte[] |
readInputStream(InputStream stream)
Deprecated. since 3.0 because it was only used in tests |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOUtils()
Method Detail |
---|
@Deprecated public static void close(InputStream i)
IOUtils.closeQuietly(InputStream)
@Deprecated public static void flushAndClose(OutputStream o)
OutputStream.flush()
followed by IOUtils.closeQuietly(OutputStream)
@Deprecated public static void close(OutputStream o)
IOUtils.closeQuietly(OutputStream)
@Deprecated public static void close(Reader r)
IOUtils.closeQuietly(Reader)
@Deprecated public static void close(Writer w)
IOUtils.closeQuietly(Writer)
@Deprecated public static void flushAndClose(Writer w)
Writer.flush()
followed by IOUtils.closeQuietly(Writer)
@Deprecated public static void copy(InputStream i, OutputStream o) throws IOException
IOUtils
instead
IOException
@Deprecated public static File createTmpDir(String prefix, String suffix) throws IOException
IOException
@Deprecated public static byte[] readInputStream(InputStream stream) throws IOException
IOException
IOUtils.toByteArray(InputStream)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |