Package de.hybris.platform.core
Class BeanShellUtils.StreamWrapper
- java.lang.Object
-
- java.io.OutputStream
-
- de.hybris.platform.core.BeanShellUtils.StreamWrapper
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- BeanShellUtils
public abstract static class BeanShellUtils.StreamWrapper extends java.io.OutputStream
-
-
Constructor Summary
Constructors Constructor Description StreamWrapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidflush()java.lang.StringBuildergetBuffer()abstract voidprintln(java.lang.String line)voidwrite(byte[] bytes)voidwrite(byte[] bytes, int off, int len)voidwrite(int character)
-
-
-
Method Detail
-
getBuffer
public java.lang.StringBuilder getBuffer()
-
println
public abstract void println(java.lang.String line)
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(int character) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] bytes) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] bytes, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
-