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
This class implements the cleanup (nulling the byte array) without referring to the
RereadableContent it cleans up.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidsetMutable(org.apache.commons.lang3.mutable.Mutable<?> mutable) Sets the mutable since it is not created when creating thisMutableNuller.
-
Constructor Details
-
MutableNuller
protected MutableNuller()
-
-
Method Details
-
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
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-