Package org.verapdf.as.filters
Class ASOutFilter
- java.lang.Object
-
- org.verapdf.as.filters.ASOutFilter
-
- All Implemented Interfaces:
ASOutputStream
- Direct Known Subclasses:
ASBufferingOutFilter
public abstract class ASOutFilter extends Object implements ASOutputStream
Base class for output filters.- Author:
- Timur Kamalov
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedASOutFilter(ASOutputStream outStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected ASOutputStreamgetStoredOutputStream()longwrite(byte[] buffer)longwrite(byte[] buffer, int offset, int size)longwrite(ASInputStream stream)
-
-
-
Constructor Detail
-
ASOutFilter
protected ASOutFilter(ASOutputStream outStream)
-
-
Method Detail
-
getStoredOutputStream
protected ASOutputStream getStoredOutputStream()
-
write
public long write(byte[] buffer) throws IOException- Specified by:
writein interfaceASOutputStream- Throws:
IOException
-
write
public long write(byte[] buffer, int offset, int size) throws IOException- Specified by:
writein interfaceASOutputStream- Throws:
IOException
-
write
public long write(ASInputStream stream) throws IOException
- Specified by:
writein interfaceASOutputStream- Throws:
IOException
-
close
public void close()
- Specified by:
closein interfaceASOutputStream
-
-