Package pro.gravit.launchserver.helper
Class SignHelper.HashingNonClosingOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- pro.gravit.launchserver.helper.SignHelper.HashingOutputStream
-
- pro.gravit.launchserver.helper.SignHelper.HashingNonClosingOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- SignHelper
public static class SignHelper.HashingNonClosingOutputStream extends SignHelper.HashingOutputStream
Helper output stream that also sends the data to the given.
-
-
Field Summary
-
Fields inherited from class pro.gravit.launchserver.helper.SignHelper.HashingOutputStream
hasher, out
-
-
Constructor Summary
Constructors Constructor Description HashingNonClosingOutputStream(java.io.OutputStream out, java.security.MessageDigest hasher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classSignHelper.HashingOutputStream- Throws:
java.io.IOException
-
-