|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.canoo.webtest.boundary.StreamBoundary
public final class StreamBoundary
Helper class for working with streams.
| Method Summary | |
|---|---|
static void |
closeInputStream(InputStream inStream)
Close an InputStream ignoring an errors. |
static void |
closeOutputStream(OutputStream outStream)
Close an OutputStream ignoring an errors. |
static void |
tryCloseInputStreamWithFail(InputStream is,
Step step)
Close an InputStream and abort step if an error occur. |
static void |
tryCloseOutputStream(OutputStream os,
Step step)
Close an OutputStream and abort step if an error occur. |
static byte[] |
tryGetBytes(Context context,
Step step)
|
static Object |
tryReadObject(ObjectInputStream ois,
Step step)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void closeInputStream(InputStream inStream)
inStream - public static void closeOutputStream(OutputStream outStream)
outStream -
public static void tryCloseInputStreamWithFail(InputStream is,
Step step)
is - step -
public static void tryCloseOutputStream(OutputStream os,
Step step)
os - step -
public static Object tryReadObject(ObjectInputStream ois,
Step step)
throws IOException
IOException
public static byte[] tryGetBytes(Context context,
Step step)
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||