|
||||||||||
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(java.io.InputStream i)
Deprecated. since 3.0 use IOUtils.closeQuietly(InputStream) |
static void |
close(java.io.OutputStream o)
Deprecated. since 3.0 use IOUtils.closeQuietly(OutputStream) |
static void |
close(java.io.Reader r)
Deprecated. since 3.0 use IOUtils.closeQuietly(Reader) |
static void |
close(java.io.Writer w)
Deprecated. since 3.0 use IOUtils.closeQuietly(Writer) |
static void |
copy(java.io.InputStream i,
java.io.OutputStream o)
Deprecated. since 3.0 use IOUtils instead |
static java.io.File |
createTmpDir(java.lang.String prefix,
java.lang.String suffix)
Deprecated. since 3.0 because it was only used in tests |
static void |
flushAndClose(java.io.OutputStream o)
Deprecated. since 3.0 use OutputStream.flush() followed by IOUtils.closeQuietly(OutputStream) |
static void |
flushAndClose(java.io.Writer w)
Deprecated. since 3.0 use Writer.flush() followed by IOUtils.closeQuietly(Writer) |
static byte[] |
readInputStream(java.io.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(java.io.InputStream i)
IOUtils.closeQuietly(InputStream)
@Deprecated public static void flushAndClose(java.io.OutputStream o)
OutputStream.flush()
followed by IOUtils.closeQuietly(OutputStream)
@Deprecated public static void close(java.io.OutputStream o)
IOUtils.closeQuietly(OutputStream)
@Deprecated public static void close(java.io.Reader r)
IOUtils.closeQuietly(Reader)
@Deprecated public static void close(java.io.Writer w)
IOUtils.closeQuietly(Writer)
@Deprecated public static void flushAndClose(java.io.Writer w)
Writer.flush()
followed by IOUtils.closeQuietly(Writer)
@Deprecated public static void copy(java.io.InputStream i, java.io.OutputStream o) throws java.io.IOException
IOUtils
instead
java.io.IOException
@Deprecated public static java.io.File createTmpDir(java.lang.String prefix, java.lang.String suffix) throws java.io.IOException
java.io.IOException
@Deprecated public static byte[] readInputStream(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
IOUtils.toByteArray(InputStream)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |