Class JwetMultipartSplitter.Parts<T>

java.lang.Object
co.ankatech.ankasecure.sdk.internal.util.JwetMultipartSplitter.Parts<T>
Type Parameters:
T - concrete JWET header class
Enclosing class:
JwetMultipartSplitter

public static final class JwetMultipartSplitter.Parts<T> extends Object
Holder for the two extracted parts.
Version:
2.0
Author:
Anka Technologies
  • Method Details

    • header

      public T header()
      Parsed JWET header (type T).
    • envelope

      public Path envelope()
      Temporary file containing the binary envelope.
    • cleanup

      public void cleanup()
      Deletes the temporary envelope file. Call in a finally block to avoid leaking temp files in exceptional paths.