|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.io.BufferPool.BufferFactory
com.mucommander.io.BufferPool.ByteArrayFactory
public static class BufferPool.ByteArrayFactory
This class is a BufferPool.BufferFactory implementation for byte array (byte[]) buffers.
| Constructor Summary | |
|---|---|
BufferPool.ByteArrayFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getBufferClass()
Returns the Class of buffer instances this factory creates. |
java.lang.Object |
newBuffer(int size)
Creates and returns a buffer instance of the specified size. |
BufferPool.BufferContainer |
newBufferContainer(java.lang.Object buffer)
Creates and returns a BufferPool.BufferContainer for the specified buffer instance. |
| Methods inherited from class com.mucommander.io.BufferPool.BufferFactory |
|---|
matchesBufferClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferPool.ByteArrayFactory()
| Method Detail |
|---|
public java.lang.Object newBuffer(int size)
BufferPool.BufferFactory
newBuffer in class BufferPool.BufferFactorysize - size of the buffer to create
public BufferPool.BufferContainer newBufferContainer(java.lang.Object buffer)
BufferPool.BufferFactoryBufferPool.BufferContainer for the specified buffer instance.
newBufferContainer in class BufferPool.BufferFactorybuffer - the buffer to wrap in a BufferContainer
public java.lang.Class getBufferClass()
BufferPool.BufferFactory
getBufferClass in class BufferPool.BufferFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard