Eclipse JDT
2.1

org.eclipse.jdt.core
Interface IBufferFactory


public interface IBufferFactory

A factory that creates IBuffers for openables.

This interface may be implemented by clients.

Since:
2.0

Method Summary
 IBuffer createBuffer(IOpenable owner)
          Creates a buffer for the given owner.
 

Method Detail

createBuffer

public IBuffer createBuffer(IOpenable owner)
Creates a buffer for the given owner. The new buffer will be initialized with the contents of the owner if and only if it was not already initialized by the factory (a buffer is uninitialized if its content is null).
Parameters:
owner - the owner of the buffer
See Also:
IBuffer

Eclipse JDT
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.