Package org.apache.james.jdkim.canon
Class RelaxedBodyCanonicalizer
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.apache.james.jdkim.canon.RelaxedBodyCanonicalizer
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class RelaxedBodyCanonicalizer extends FilterOutputStream
Implements Relaxed canonicalization for the body as defined in RFC4871 - 3.4.4. The "relaxed" Body Canonicalization Algorithm
-
-
Field Summary
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description RelaxedBodyCanonicalizer(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwrite(byte[] buffer, int off, int len)voidwrite(int b)-
Methods inherited from class java.io.FilterOutputStream
flush, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
RelaxedBodyCanonicalizer
public RelaxedBodyCanonicalizer(OutputStream out)
-
-
Method Detail
-
write
public void write(byte[] buffer, int off, int len) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
public void write(int b) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
-