Package de.aristaflow.adept2.util.io
Class MemoryContent.MutableNuller
- java.lang.Object
-
- de.aristaflow.adept2.util.io.MemoryContent.MutableNuller
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- MemoryContent
protected static class MemoryContent.MutableNuller extends Object implements Closeable
This class implements the cleanup (nulling the byte array) without referring to theRereadableContentit cleans up.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMutableNuller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidsetMutable(org.apache.commons.lang3.mutable.Mutable<?> mutable)Sets the mutable since it is not created when creating thisMutableNuller.
-
-
-
Method Detail
-
setMutable
protected void setMutable(org.apache.commons.lang3.mutable.Mutable<?> mutable)
Sets the mutable since it is not created when creating thisMutableNuller.- Parameters:
mutable- The mutable to set tonullwhen closing.
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-