<s> package org . eclipse . jdt . core ; import org . eclipse . core . runtime . IProgressMonitor ; public interface IOpenable { public void close ( ) throws JavaModelException ; public String findRecommendedLineSeparator ( ) throws JavaModelException ; public IBuffer getBuffer ( ) throws JavaModelException ; boolean hasUnsavedChanges ( ) throws JavaModelException ; boolean isConsistent ( ) throws JavaModelException ; boolean isOpen ( ) ; void makeConsistent ( IProgressMonitor progress ) throws JavaModelException ; public void open ( IProgressMonitor progress ) throws JavaModelException ; public void save ( IProgressMonitor progress , boolean force ) throws JavaModelException ; } </s>