org.apache.maven.wagon
Class OutputStreamMock
java.lang.Object
java.io.OutputStream
org.apache.maven.wagon.OutputStreamMock
- All Implemented Interfaces:
- Closeable, Flushable
public class OutputStreamMock
- extends OutputStream
- Version:
- $Id: OutputStreamMock.java 573459 2007-09-07 05:14:49Z brett $
- Author:
- Michal Maczka
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStreamMock
public OutputStreamMock()
close
public void close()
- Specified by:
close
in interface Closeable
- Overrides:
close
in class OutputStream
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
- See Also:
OutputStream.write(int)
isClosed
public boolean isClosed()
- Returns:
- Returns the closed.
isForcedError
public boolean isForcedError()
- Returns:
- Returns the forcedError.
setForcedError
public void setForcedError(boolean forcedError)
- Parameters:
forcedError
- The forcedError to set.
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.