|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMetadataExport
Provides access to members that define a metadata exporter.
The IMetadataExport interface is available to custom CoClasses that implement the MetadataExport abstract class. For example, a custom CoClass might be written to support exporting metadata from an ArcGIS item to a custom document format. Example code illustrating how to use this object is available in the ArcGIS 9.3.1 Developer Help system.
Method Summary | |
---|---|
void |
export(IMetadata source,
String destination)
Exports metadata to the specified location. |
String |
getDefaultFilename()
Default filename (including the file extension) to create on export. |
String |
getName()
Name of the metadata exporter. |
Method Detail |
---|
String getName() throws IOException, AutomationException
Returns the name of the MetadataExport subclass as a string.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDefaultFilename() throws IOException, AutomationException
The DefaultFilename is determined by the MetadataExport subclass. Typically the name �metadata� with an appropriate file extension for the export format is built into the MetadataExport subclass. For example, if a subclass exports content to an HTML file the default filename might be �metadata.html�.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void export(IMetadata source, String destination) throws IOException, AutomationException
The Export method creates metadata for the specified source ArcGIS item and exports it to a determined location. Although MetadataExporters create metadata documents in a specific format, it is still necessary to explicitly state the file format when supplying the destination parameter, for example, �c:\metadata\parcels.html�.
source
- A reference to a com.esri.arcgis.geodatabase.IMetadata (in)destination
- The destination (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |