edu.rice.cs.drjava.model
Interface FileRegion

All Superinterfaces:
Region
All Known Implementing Classes:
DummyDocumentRegion

public interface FileRegion
extends Region

The minimal interface for all region classes. Excludes a document field because DummyDocumentRegions are created before their corresponding document.

Version:
$Id$

Method Summary
 int getEndOffset()
           
 File getFile()
           
 int getStartOffset()
           
 

Method Detail

getStartOffset

int getStartOffset()
Specified by:
getStartOffset in interface Region
Returns:
the start offset

getEndOffset

int getEndOffset()
Specified by:
getEndOffset in interface Region
Returns:
the end offset

getFile

File getFile()
Returns:
the file