org.eclipse.jdt.internal.core
Class NullBuffer

java.lang.Object
  extended by org.eclipse.jdt.internal.core.Buffer
      extended by org.eclipse.jdt.internal.core.NullBuffer
All Implemented Interfaces:
IBuffer

public class NullBuffer
extends Buffer

This class represents a null buffer. This buffer is used to represent a buffer for a class file that has no source attached.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jdt.core.IBuffer
IBuffer.ITextEditCapability
 
Constructor Summary
NullBuffer(IFile file, IOpenable owner, boolean readOnly)
          Creates a new null buffer on an underlying resource.
 
Method Summary
 
Methods inherited from class org.eclipse.jdt.internal.core.Buffer
addBufferChangedListener, append, append, close, getChar, getCharacters, getContents, getLength, getOwner, getText, getUnderlyingResource, hasUnsavedChanges, isClosed, isReadOnly, removeBufferChangedListener, replace, replace, save, setContents, setContents, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullBuffer

public NullBuffer(IFile file,
                  IOpenable owner,
                  boolean readOnly)
Creates a new null buffer on an underlying resource.