org.apache.mina.util.byteaccess
Class CompositeByteArrayRelativeWriter.ChunkedExpander

java.lang.Object
  extended by org.apache.mina.util.byteaccess.CompositeByteArrayRelativeWriter.ChunkedExpander
All Implemented Interfaces:
CompositeByteArrayRelativeWriter.Expander
Enclosing class:
CompositeByteArrayRelativeWriter

public static class CompositeByteArrayRelativeWriter.ChunkedExpander
extends java.lang.Object
implements CompositeByteArrayRelativeWriter.Expander

Expands the supplied CompositeByteArray by the number of bytes provided in the constructor


Constructor Summary
CompositeByteArrayRelativeWriter.ChunkedExpander(ByteArrayFactory baf, int newComponentSize)
           
 
Method Summary
 void expand(CompositeByteArray cba, int minSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeByteArrayRelativeWriter.ChunkedExpander

public CompositeByteArrayRelativeWriter.ChunkedExpander(ByteArrayFactory baf,
                                                        int newComponentSize)
Method Detail

expand

public void expand(CompositeByteArray cba,
                   int minSize)
Specified by:
expand in interface CompositeByteArrayRelativeWriter.Expander


Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.