EGF Engine
Release 0.1.0

org.eclipse.egf.common.ui.internal.resource
Class ExtendedUnmodifiableFile

java.lang.Object
  extended by File
      extended by org.eclipse.egf.common.ui.internal.resource.ExtendedUnmodifiableFile

public class ExtendedUnmodifiableFile
extends File

An IFile implementation that also handles a deployed file (as opposed to the one obtained from the workspace).
No modification is allowed for such a file.


Constructor Summary
ExtendedUnmodifiableFile(IPath path_p)
          Constructor.
 
Method Summary
 InputStream getContents(boolean force_p)
           
 boolean isReadOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedUnmodifiableFile

public ExtendedUnmodifiableFile(IPath path_p)
Constructor.

Parameters:
path_p -
Method Detail

getContents

public InputStream getContents(boolean force_p)
                        throws CoreException
Throws:
CoreException
See Also:
org.eclipse.core.internal.resources.File#getContents(boolean)

isReadOnly

public boolean isReadOnly()
See Also:
org.eclipse.core.internal.resources.Resource#isReadOnly()

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.