/*
  * (non-Javadoc)
  * @see org.eclipse.core.resources.IStorage#getContents()
  */
 public InputStream getContents() throws CoreException {
   try {
     // Contents are a ByteArrayInputStream which can be reset to the beginning
     contents.reset();
   } catch (IOException e) {
     SVNUIPlugin.log(SVNException.wrapException(e));
   }
   return contents;
 }
 /* (non-Javadoc)
  * @see org.tigris.subversion.subclipse.core.ISVNLocalFile#getKeywords()
  */
 public SVNKeywords getKeywords() throws SVNException {
   ISVNClientAdapter svnClient = null;
   try {
     svnClient = getRepository().getSVNClient();
     return svnClient.getKeywords(getFile());
   } catch (SVNClientException e) {
     throw SVNException.wrapException(e);
   } finally {
     getRepository().returnSVNClient(svnClient);
   }
 }
 /* (non-Javadoc)
  * @see org.tigris.subversion.subclipse.core.ISVNLocalFile#addKeywords(org.tigris.subversion.svnclientadapter.SVNKeywords)
  */
 public void addKeywords(SVNKeywords svnKeywords) throws SVNException {
   ISVNClientAdapter svnClient = null;
   try {
     svnClient = getRepository().getSVNClient();
     OperationManager.getInstance().beginOperation(svnClient);
     svnClient.addKeywords(getFile(), svnKeywords);
   } catch (SVNClientException e) {
     throw SVNException.wrapException(e);
   } finally {
     getRepository().returnSVNClient(svnClient);
     OperationManager.getInstance().endOperation();
   }
 }