com.esri.arcgis.system
Interface IFile

All Superinterfaces:
Serializable
All Known Implementing Classes:
FileStream

public interface IFile
extends Serializable

Provides access to a method that opens a file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void open(String fileName, int permission)
          Opens the specified file.
 

Method Detail

open

void open(String fileName,
          int permission)
          throws IOException,
                 AutomationException
Opens the specified file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fileName - The fileName (in)
permission - A com.esri.arcgis.system.esriFilePermission constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.