|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILayerFile
Provides access to members that control the reading and writing of layer document files.
| Method Summary | |
|---|---|
void |
close()
Close the layer file. |
void |
esri_new(String sFile)
Creates and opens a new layer File in preparation for the contents to be retrieve or updated. |
String |
getFilename()
The name of the layer file that the LayerFile coclass is linked to. |
ILayer |
getLayer()
The Layer object. |
IPicture |
getThumbnail()
The thumbnail stored in the layer file. |
boolean |
isLayerFile(String sFile)
Indicates if the file is a valid layer file. |
boolean |
isPresent(String sFile)
Indicates if the layer file is present. |
boolean |
isReadOnly(String sFile)
Indicates if the layer file is read only. |
void |
open(String sFile)
Open the layer file in preparation for the contents to be retrieved or updated. |
void |
replaceContents(ILayer pLayer)
Replace the contents of the layer file. |
void |
save()
Save the contents of the layer file to the bound file. |
void |
saveAs(String sFile)
Save the contents of the layer file to the specified file name. |
| Method Detail |
|---|
String getFilename()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isLayerFile(String sFile)
throws IOException,
AutomationException
sFile - The sFile (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isPresent(String sFile)
throws IOException,
AutomationException
sFile - The sFile (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isReadOnly(String sFile)
throws IOException,
AutomationException
sFile - The sFile (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ILayer getLayer()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPicture getThumbnail()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void esri_new(String sFile)
throws IOException,
AutomationException
sFile - The sFile (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void open(String sFile)
throws IOException,
AutomationException
sFile - The sFile (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void close()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void replaceContents(ILayer pLayer)
throws IOException,
AutomationException
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void save()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void saveAs(String sFile)
throws IOException,
AutomationException
sFile - The sFile (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||